> 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 that the query returned a value. Your query failed somewhere... Chris
- [PHP] PHP- something tha i don't understand Yassel Omar Izquierdo Souchay
- Boget, Chris