E extra New Member Jun 11, 2012 #1 \[code\]$result=mysql_query("SELECT * FROM users WHERE pass='".sha1($_POST['mainloginpass'])."'");if(mysql_num_rows($result)==1){\[/code\]it says that "mysql_num_rows() expects parameter 1 to be resource, boolean given"
\[code\]$result=mysql_query("SELECT * FROM users WHERE pass='".sha1($_POST['mainloginpass'])."'");if(mysql_num_rows($result)==1){\[/code\]it says that "mysql_num_rows() expects parameter 1 to be resource, boolean given"