Hey,
I've been using PHP for 'bout a month
and my programming abilities are pretty limited.
I'm using a script (further below) to retrieve
results from a MySQL database. It's intended to retrieve
potentially 6 fields of information.
Some of these fields in the record, though, may be NULL, but
I used to do this:
function nice( $value )
{
if ($value=="")
{
return "-nbsp;";
}
else return $value;
}
print nice($row["company"])
Lennin Arriola
[EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional