-Original Message-
From: Arne Essa Madsen
To: [EMAIL PROTECTED]
Sent: 31-10-2004 19:34
Subject: [PHP-WIN] Problems with mysql_num-rows()
I have the following problem:
This one does not work:
$query = "SELECT * from user where name='$userid' and
pass=password('
I have the following problem:
This one does not work:
$query = "SELECT * from user where name='$userid' and
pass=password('$password')";
$result = mysql_query($query, $link);
$num_rows = mysql_num_rows($result);
I get this error message:
Warning: mysql_num_rows(): supplied argument is not a