note 4591 deleted from mysql_query by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 22:32:01 +0000 |
| Subject: | note 4591 deleted from mysql_query by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1700@lists.php.net to get a copy of this message | ||
responding to :dwachs@seas.upenn.edu
I often get this problem when I try to execute a query within a function. the databasehandler you
define with mysql_connect_db() has to be included in the function by adding
<pre>global $dbh; (or whather you call this variable)</pre>
to the function before you execute the query.