I currently use the following bit of code to validate a user login which works fine in MySQL but to no avail in Oracle, could anyone tell me what the equilivent in oracle is of the line,
if ($qry->numRows() == 0)
Thanks
if ($qry->numRows() == 0)
Code:
if ($qry->numRows() == 0) //WORKS in MySQL
{
echo "Logon Failure\n";
$_SERVER['PHP_AUTH_USER'] = "UNAUTHORISED";
exit;
}