Re: how to tell if a returned returned query has results,

From: Date: Fri, 23 Jun 2000 17:00:50 +0000
Subject: Re: how to tell if a returned returned query has results,
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2823@lists.php.net to get a copy of this message
> Apart from seeing the screen output, how can you test that the > returned results from a query (mysql) does not have any rows, so you > can inform inform the user with a friendly message, saying "... > the search to not return any results".. if(mysql_numrows($result)==0) ... > > CONFIDENTIALITY This e-mail and any attachments are confidential and may > also be privileged. If you are not the intended recipient(s) please note > that any distribution, copying or use of this communication or the > information in it is strictly prohibited.If you are not the named > recipient(s), please notify the sender immediately and do not disclose > the contents to another person, use it for any purpose, or store or > copy the information in any medium. You really need to get rid of this. Post from another account outside of your company or something. -Rasmus

« previous php.general (#2823) next »