Author Topic: Can I add an extra line in php code (if statement)?  (Read 1319 times)

Mysteriouskk

  • Jr. Member
  • **
  • Posts: 72
Can I add an extra line in php code (if statement)?
« on: July 07, 2008, 21:00:22 pm »
I want to add a <br/> or a line only if the php if statement is true.

Quote
        <?php
           if( $this->get_cfg( 'showAvailability' ))
         {
              echo $product_availability;
           }
           ?>

Is there a way I can add a br or some line in that php code if that php statement is true?