On Fri, 3 Dec 2004 19:47:27 +0200, Ahmed Abdel-Aliem <[EMAIL PROTECTED]> wrote: > when there is no records in the dataabse i get mysql error.
So wrap your while( mysql_fetch_array() ) with if( mysql_num_rows() ). -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

