Hi,
I get this error on red coloured line. "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\.....".
I use PHP 5.25, MySQL 5.51.
$sql="SELECT * FROM customer";
$run = mysql_query($sql);
if (mysql_num_rows($run) > 0) {
....
}
When there is record it works otherwise no.
Thanks