Displat name only if value >0

More
11 years 4 months ago - 11 years 4 months ago #23107 by Qtal
Displat name only if value >0 was created by Qtal
How display: "echo JText::_('OS_BATHROOMS')?> </span> <span>: <?php echo $row->bed_room;" only if bed_room >0

<?php
if($configClass == 1){
?>
<p><span class="field"> <?php echo JText::_('OS_BATHROOMS')?> </span> <span>: <?php echo $row->bed_room; ?> </span></p>
<?php
}
?>
Last edit: 11 years 4 months ago by Qtal.

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam