Gossamer Forum
Home : General : Databases and SQL :

PHP/MySQL problem

Quote Reply
PHP/MySQL problem
I had a corruption problem with the built in MySQL server and I installed a new copy of mysql on another dir. It works ok for my perl scripts but not for my php one...
I get this error from this script

Supplied argument is not a valid MySQL result resource
this error is referring to this line
while($r=mysql_fetch_array($lists)){

Supplied argument is not a valid MySQL result resource
his error is referring to this line
$res=mysql_fetch_array(mysql_query("SELECT * FROM pages WHERE name='$name'"));

The author of this script says that this is a problem of the MySQL install...
Thanks
Max
Max
The one with Mac OS X Server 10.4 :)

Last edited by:

maxpico: Sep 20, 2002, 9:13 AM
Subject Author Views Date
Thread PHP/MySQL problem maxpico 4486 Sep 20, 2002, 9:12 AM
Post Re: [maxpico] PHP/MySQL problem
hennagaijin 4129 Oct 4, 2002, 4:43 AM