mags43 Posted September 26, 2012 Share Posted September 26, 2012 (edited) hi all could anyone please tell me what is wrong with this code. Am newbie and very confused. thanks all mags <?php if($this->countModules('user6')) : ?> <table class="nopad user6user7"> <tr valign="top"> <?php if($this->countModules('user6')) : ?> <td> <jdoc:include type="modules" name="user6" style="xhtml" /> </td> <?php endif; ?> <?php if ($this->countModules('user6') and $this->countModules('user7')) : ?> <td class="greyline"> </td> <?php endif; ?> <?php if ($this->countModules('user7')) : ?> <td> <td> <jdoc:include type="modules" name="position-7" style="xhtml" /> </td> <?php endif; ?> <?php endif; ?> thanks again. Edited September 26, 2012 by PFMaBiSmAd code in code tags please Quote Link to comment https://forums.phpfreaks.com/topic/268805-php-help-please/ Share on other sites More sharing options...
Pikachu2000 Posted September 26, 2012 Share Posted September 26, 2012 There is nothing wrong with it syntactically. If it's doing something it shouldn't, or not doing something it should, you'll need to provide more information. Quote Link to comment https://forums.phpfreaks.com/topic/268805-php-help-please/#findComment-1380965 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.