Index unidentified email [duplicate]
Solution 1:
The mysqli_num_rows()
function returns the number of rows in a result set. For insert, update and delete use mysqli_affected_rows
Solution 2:
mysql_num_rows ( resource $result )
Retrieves the number of rows from a result set. This command is only valid for statements like SELECT or SHOW that return an actual result set. To retrieve the number of rows affected by a INSERT, UPDATE, REPLACE or DELETE query, use . mysql_affected_rows()
Like
if(mysql_affected_rows())
{
return $valueentered ;
}
else
{
false;
}