Code Help
hey guys, i need some help with some code. what code would i use if i only wanted to show "Cumshots" when there is a value entered? i tired:
<?php if((get_post_meta($post->ID, "shots", true)) ) { ?>
but it didn't work.
<td><span>Name:</span> <? echo $name ?></td>
<td><span>Video:</span> <? echo $video ?></td>
<td><span>Pictures:</span> <? echo $pics ?></td>
<td><span>Cumshots:</span> <? echo $shots ?></td>
|