eof
| From: | Harpreet | Date: | Wed, 17 Oct 2001 15:12:35 +0000 |
| Subject: | eof | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13426@lists.php.net to get a copy of this message | ||
How can one check if no records r returned by a query?
For eg.,
<?php
$sqlstr="Select * from msg_operator_tbl where type= 'U' or type = 'MC'
order
by send_date desc";
$result = mysql_query($sqlstr);
?>
How can i check if mssql_query returned ne rows?
regards,
Harpreet Kaur
Software Developer
Crispin Corporations Inc.