Home : General : Databases and SQL :

General: Databases and SQL: PHP/MySQL problem: Edit Log

Here is the list of edits for this post
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

Edit Log: