Hi I am trying to figure out how some code works but unfortunately the original code was poorly formatted
Would be glad to find out whats wrong and a possible work around.PHP Code:$q = "select password from users where username = '$username'";
$result = mysql_query($q,$conn);
if(!$result(mysql_numrows($result) < 1)){ // Affected line
return 1; //Indicates username failure
}





Reply With Quote
