Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

PHP - if element present or exist

0 votes
added Aug 14, 2019 in PHP by LC Marshal Captain (25,800 points)
<?php if (!empty($filter['combine'])):?>
  <h1 class="page-heading">Latest news for:
  <strong id="search-for"><?php echo $filter['combine'];?></strong>
<?php else:?>
  <h1 class="page-heading"><strong id="search-for"><?php echo $category_name;?></strong>
<?php endif;?>  


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.