RE: [PHP] PHP- something tha i don't understand

2001-07-17 Thread Boget, Chris
> 8:$result = mysql_db_query("users", $query); > 9:$r=mysql_fetch_array($result); > 10: $count=$r["count"]; > And the error message is > Warning: Supplied argument is not a valid MySQL result > resource in > c:\inetpub\wwwroot\PhpAndMysqlTest\test2\reg1.php3 on line 9 You need to validate th

[PHP] PHP- something tha i don't understand

2001-07-17 Thread Yassel Omar Izquierdo Souchay
Hi again Here is the part of before code 8:$result = mysql_db_query("users", $query); 9:$r=mysql_fetch_array($result); 10: $count=$r["count"]; And the error message is Warning: Supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\PhpAndMysqlTest\test2\reg1.php3 on lin