Better solution?

2002-02-12 Thread Karel Horsky
Hi all, could someone help me? I'm looking for one quick answer. I've code like this $result = mysql_query("SELECT FROM ..."); $rows = mysql_fetch_array($result); Problem is, when the result have no rows. I receive an error message from MySQL on the second line, which is OK. My questi

Better solution?

2002-02-10 Thread Karel Horsky
Hi all, could someone help me? I'm looking for one quick answer. I've code like this $result = mysql_query("SELECT FROM ..."); $rows = mysql_fetch_array($result); Problem is, when the result have no rows. I receive an error message from MySQL on the second line, which is OK. My questi