Re: about query
| From: | Tomas V.V.Cox | Date: | Thu, 28 Mar 2002 10:32:05 +0000 |
| Subject: | Re: about query | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5129@lists.php.net to get a copy of this message | ||
Probably you couldn't connect to your database. Try:
$dbh = DB::connect($dsn);
if (DB::isError($dbh)) {
die($dbh->toString());
}
$result =$dbh->query($query);
******************
I use PEAR on my windows XP . but when I use ---->($result
=$dbh->query($query)
It shows undefined function --->query()
How can I resolve this problem?
thanx for reply