From: Peter Brawley Date: April 30 2005 11:55pm Subject: Re: Checking Results from Query List-Archive: http://lists.mysql.com/mysql/183454 Message-Id: <42741AF4.3000506@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >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