note 33109 rejected from function.odbc-fetch-row by pollita
| From: | pollita@php.net | Date: | Tue, 17 Jun 2003 05:47:17 +0000 |
| Subject: | note 33109 rejected from function.odbc-fetch-row by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50461@lists.php.net to get a copy of this message | ||
Note Submitter: exc@vituttaa.net
----
I will need this, can you help? How do I check if odbc_result($result, 'data') is empty
like 0, NULL? And how can I print those zeros to table... it only prints if there is a value but I
need those ZEROS TOO.
if odbc_result($result, 'data') is empty then do something else like:
if(odbc_result($result, 'data') == '')
{
echo odbc_result($result, 'data_other')
}
else
{
echo odbc_result($result, 'data')
}