PHP Code Problem...
Posted
by aamir Fayyaz
on Stack Overflow
See other posts from Stack Overflow
or by aamir Fayyaz
Published on 2010-05-27T12:42:47Z
Indexed on
2010/05/27
12:51 UTC
Read the original article
Hit count: 171
function check_login($array_val)
{
$strQury = "Select * from tblsignup where usr_email ='".$array_val[0]."' and usr_password = '".$array_val[1]."'" ;
$result = mysql_query($strQury);
$row_user = mysql_fetch_array($result);
if(mysql_num_rows($result)>0)
{
$msg = "true";
}
else
{
$msg = "false";
}
return $msg ;
}
The return value is Object id #1true???? what is object id#1?
© Stack Overflow or respective owner