whats wrong here? because i get this error...
"Fatal error: Call to a member function fetchRow() on a non-object in /home/dobakat/public_html/Istariguild/phptests/member.php on line 26"
$sql = mysql_query ("SELECT User, Pass FROM members WHERE User'".$_POST['User']."'");
$check=($sql);
if ($check->numRows() == 0) {
die('That User does not exist in our database.');
}
$info = $check->fetchRow();
line is if ($check->numRows() == 0) {