Menu
Hey everyone. I do NOT want the following code to be executed on a page of mine called “intro”. I DO however, want the following code to be executed on all other pages on the site. I am a PHP novice. How would I write a proper if else statement to say ” IF($cpage==”intro”) Then DO NOT execute the following code and… ELSE (execute the following code) ?
Here is the “following code” that I have been talking about:
[code=php]<div id=”rightside”>
<?php if($this->showCart()) $this->cartPnl->Render(); ?>
<div style=”clear: both;”>
<?php if($this->showSideBar()) $this->sidePnl->Render(); ?>
</div>
</div>