Re: Setting up a web server wit Redhat 7.3

From: Date: Thu, 26 Sep 2002 14:54:12 +0000
Subject: Re: Setting up a web server wit Redhat 7.3
Groups: php.db 
Request: Send a blank email to php-db+get-22001@lists.php.net to get a copy of this message
I dont know if this is the right list. I have installed the php-mysql package and can now connect to the database. There is however error which I do not undertand. Warning: No MySQL-Link resource supplied in /usr/local/www/vantweststamps/databaselogin.php on line 15 Connected successfully ,Line 15 is mysql_close(); If I then go on top use a page which requires the database connection I get: Warning: Supplied argument is not a valid MySQL result resource in /usr/local/www/vantweststamps/stampconditionlist.php on line 39 Line 39 is: if ($row= mysql_fetch_array($result)) These pages all work without error on my win98 machine with apache, mysql and php. Is there any documentation which lists all of these error conditions and suggests ways of solving them? Regards Peter Goggin

« previous php.db (#22001) next »