Displat name only if value >0

More
13 years 1 month ago - 13 years 1 month 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: 13 years 1 month ago by Qtal.

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

Moderators: Dang Thuc Dam