Link to home
Create AccountLog in
Avatar of phillystyle123
phillystyle123Flag for United States of America

asked on

if statement just about works - but getting partial error

just about there with this if statement but getting an error:

<?php if ($_GET['Itemid']=="53")
 { echo
"<div id=\"subTitleBar\">
<div id=\"yellowArrow\" style=\"margin-top:5px;\">
   
      
                          <div class=\"moduletableArrowPad\">
                              <img src=\"templates/levy1/images/yellow_arrow.gif\" alt=\"Levy Angstreich Finney Baldante Rubenstein and Coren, P.C., Attorneys \" title=\"Levy Angstreich Finney Baldante Rubenstein and Coren, P.C., Attorneys \" />                        </div>

      
        
  </div> <div class=\"componentheading\" style=\"color:#910027;\">ASSOCIATES</div></div>
do {
<div id=\"associateContainer\"> ".$row_rsAssociates['introtext']."<br>
 ".$row_rsAssociates['title']."<br>
  <a href=\"index.php?view=article&id=".$row_rsAssociates['id'].":".$row_rsAssociates['alias']."&Itemid=53&option=com_content\" class=\"contentpagetitle$this->params->get( 'pageclass_sfx' )\">Profile</a></div>
 } while ($row_rsAssociates = mysql_fetch_assoc($rsAssociates))";}?>
ASKER CERTIFIED SOLUTION
Avatar of Joe Wu
Joe Wu
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of phillystyle123

ASKER

perfecto - that's exactly what was wrong - thanks for the help!
Glad to be of assistance.