ellisdav44
asked on
Including HTML tags in Echo output
I would like to have a conditional echo statement depending on whether a field from a database is not empty.
The code snippet attached works fine - but I would also like to include a <br /> tag as well.
I have tried various variations but can't find the correct syntax.
Many thanks,
The code snippet attached works fine - but I would also like to include a <br /> tag as well.
I have tried various variations but can't find the correct syntax.
Many thanks,
<?php if (isset($row_rsCustomer['Company'])) { echo $row_rsCustomer['Company']; } ?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER