PHP - if the element == 0 or null

0 votes
added Aug 14, 2019 in PHP by LC Marshal Captain (25,790 points)
<?php if ($searchList->response->total == 0):?>
  <h3>Sorry... no result found.</h3>
    <li>Please ensure all words are spelled correctly.</li>
    <li>Or, try different or more general keywords.</li>
<?php endif;?> - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.