You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Can I add an extra line in php code (if statement)?

Started by Mysteriouskk, July 07, 2008, 21:00:22 PM

Previous topic - Next topic


I want to add a <br/> or a line only if the php if statement is true.

           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?