Hello,
I have the following code and I am searching records from a table. I am getting
all the results, but when I uncomment the lines I do not get the first
record from the search result. I want to have those comment lines executing
when no records are found, I want to display a message.
hm, that should be mysql_num_rows==0
if (($row = mysql_num_rows($result)) == 0)
{
$member_list = Sorry, we do not have any translators for $_POST[language];
}
bastien
From: Novice Learner [EMAIL PROTECTED]
To: PHP Mailing List php-db@lists.php.net
Subject: [PHP-DB] First record in a search
Date