List:General Discussion« Previous MessageNext Message »
From:Peter Brawley Date:April 30 2005 11:55pm
Subject:Re: Checking Results from Query
View as plain text  
 >How would I test this fetch to know if there are any rows returned?

 >$arr = mysql_fetch_array($result, MYSQL_ASSOC)

$rows = mysql_num_rows( $result );

PB





-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005

Thread
Checking Results from Queryjeffrey fitzgerald30 Apr
Re: Checking Results from QueryPeter Brawley1 May