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
Subject: [PHP-DB] First record in a search
Date: Fri, 4 Feb 2005 21
Hello,
I have the following code and I am searching records from a table. I am getting
all the results, but when I "un"comment 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.
On Fri, 4 Feb 2005, Sven Oliver Moll wrote:
Hello,
I'm using Serendipity (http://www.s9y.org), a blog system. Running it with
an sqlite backend, it crashes the apache instance with a signal 11. After
some analysing I can tell that the crash is processing an sqlite_query()
statement.
I created a sma
Hello,
I'm using Serendipity (http://www.s9y.org), a blog system. Running it with
an sqlite backend, it crashes the apache instance with a signal 11. After
some analysing I can tell that the crash is processing an sqlite_query()
statement.
I created a small testcase that crashes with 5.0.3, 5.0.x-c