Put text inside the php code
Posted on 2011-03-04
I am calling info from a database. An email address is displayed as:
Email: <?php echo $row_Recordset1['email']; ?>
However, if there isn't an email address for this particular entry the Email: is diplayed.
What I want to do is put the text 'Email:' inside the code so if there is no entry nothing shows on the live page.
Thanks in advance!