×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: jaid int
Added: Dec 15, 2016 2:59 PM
Views: 10
Tags: condition html if
  1. <?php // Using IF whith HTML Tags
  2.  if($a == 10):?>
  3. <li>1</li>
  4. <li>2</li>
  5. <li>3</li>
  6. <?php elseif($a==5):?>
  7. <li>4</li>
  8. <li>5</li>
  9. <li>6</li>
  10. <?php endif;?>