On Thu, Oct 23, 2003 at 12:46:29PM -0500, Robb Kerr wrote:
:
: I'm a PhP /MySQL newbie so please excuse the simple question. I'm returning
: results from a MySQL query on a webpage. My code includes...
:
:
:,
:
:
:
: ,
:
: Phone:
:
:
Robb,
You pretty much have it.. Here is what you will most likely want:
if (!empty($row_rsVandyDivAddresses['Address']) && strlen (trim ($row_rsVandyDivAddresses['Address'])) > 0)
{
echo $row_rsVandyDivAddresses['Address']) . '';
}
?>
Feel free to format as you wish.
Jordan S. Jones
Robb
--- Robb Kerr <[EMAIL PROTECTED]> wrote:
> Here's the problem. Some of the fields are empty (for instance
> 'Address') and the way my code is configured a blank line appears in
> the returned data when the field is empty. How do I change this code
> to add a conditional that only echos the field co
I'm a PhP /MySQL newbie so please excuse the simple question. I'm returning
results from a MySQL query on a webpage. My code includes...
,
,
Phone:
Email:
Here's the problem. Some of the fields are empty (for instance 'Address')
an
4 matches
Mail list logo