in reply to Why does my db query return nothing? (was: IS DBI REALLY THAT USELESS ???)
It really, really helps to check for errors on connect(). Go and do that, then report back. You might have a MySQL permission problem (such as the anonymous user not having privs to connect).
And you probably want to move the $dbh->disconnect into get_price.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why does my db query return nothing? (was: IS DBI REALLY THAT USELESS ???)
by Anonymous Monk on May 09, 2002 at 14:13 UTC |