i have a question about the if else function.
I am still a php beginner so this question may be very easy but i don’t know how to fix it
i am looking at the product view.phtml and saw this code:
<?php if ($_additional = $this->getChildHtml('additional')):?>
<h4><?php echo $this->__('Additional Information') ?></h4>
<?php echo $_additional ?>
this says: if there is additional information show it inside a div. if not don’t show it. right?
How can i turn this code into this:
if there is additional information show it inside a div. if not show the message “No information”.
Hope it would make sense.