Fatal error: Call to undefined function: getone() in /home/met/public_html/site/thing/index.php on line 189
On Line 189 is the following code:
$max = $dbh->getOne('SELECT count(*) FROM '.$table);
$dbh is my db connection that is connected earlier in the script.
I included DB.php for PEAR, but can't figure out why that is undefined.
There must be something wrong with the PEAR because it also says that "query()" is undefined with another script I wrote.
$dbh->query("DELETE FROM shows WHERE date < $yesterday");
Anyone have any ideas?