Hide Empty Fields
How do I hide a line if there is nothing in the database field?
Like this line:
<p> Description: <?php echo $row_WADAProperties["ShortDes"]; ?></p>
If there is nothing in the in the info field of the table can I hide the entire line?
Same goes for an image. If there is not an image can I hide the area that image would show?
<img src="PropsAdmin/images/<?php echo $row_WADAProperties['imageOne']; ?>" alt="<?php echo $row_WADAProperties['PicOneTitle']; ?>" width="227" height="198" class="Lefty PrettyPicSM" /><br />
<p> <?php echo $row_WADAProperties['PicOneTitle']; ?> </p>
I have tested some If statements but not working it out yet.
PS How do I surround code blocks on this forum?