show hide div
i have attached a page and the database
i want the right side bar to not show when there is no content in pcms2_contents in content value
i have attached a page and the database
i want the right side bar to not show when there is no content in pcms2_contents in content value
Use this if statement:
<?php if ($row_rightSidebar['ContentValue'] != "" || $row_rightSidebar['ContentValue'] != NULL) { ?>
<div id="sidebar2">
<!-- end #sidebar1 -->
<?php echo $row_rightSidebar['ContentValue']; ?></div>
<?php } ?>
i get this error
Parse error: syntax error, unexpected $end in /home/va010021/public_html/multiinnovations/index.php on line 184
all set forgot to place this
<?php echo $row_rightSidebar['ContentValue']; ?></div>
<?php } ?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.