Jump to content

msql_num_rows()


otuatail

Recommended Posts

I am getting a  'Call to undefined function: msql_num_rows()'

I want to trap an error where there are no records

$sql = "SELECT * FROM Accounts WHERE USR = '" . $USR . "' AND PWD = '" . $PWD . "'";
$qAccess = mysql_query($sql) or die(mysql_error());
echo msql_num_rows($qAccess);

I have searched the documentation but not found any examples.

Desmond.
Link to comment
https://forums.phpfreaks.com/topic/25930-msql_num_rows/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.