Posted by Jim Michaels on 11/14/50 11:43
I am running windows XP and PHP 5.1.2 with the MySQL extension enabled in
php.ini.
I am using mysql_connect() without any fancy options to connect to MySQL and
do some stuff without using mysql_close() at the end, and debugging several
files in sequence.
I eventually run into
C:\prj\quiz\withusers>php taaddtt2grp.php
PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link
resourc
e in C:\prj\quiz\withusers\header.php on line 28
PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL
result
resource in C:\prj\quiz\withusers\header.php on line 29
PHP Warning: mysql_free_result(): supplied argument is not a valid MySQL
result
resource in C:\prj\quiz\withusers\header.php on line 30
in all sorts of programs. Once I get this, I am not able to run a PHP that
uses those include files again. I suspect there's some sort of cacheing
going on here. this is driving me up the wall. One time, it took my
database down during a simple DROP TABLE operation. The database service
couldn't reconnect when I restarted it. shutting down & restarting the
database doesn't help.
any suggestions on how to proceed?
Navigation:
[Reply to this message]
|