Guest racadillo Posted May 19, 2005 Share Posted May 19, 2005 OK I know, I'm stupid but I'm not familiar with php at all and struggling with adding a box to my shop. I'm adding a box using the add box download I have the code in the subfooter to show box1.php under the shopping cart in the right column. This is the content of my php doc for box1 <?php if(!function_exists("sb")){ exit; } // start border sb("140","Advertisement",$colour_1,$bg_colour); echo" <a href="http://www.micfo.com/cgi-bin/affiliates/clickthru.cgi?id=racadillo"> <img src="http://www.micfo.com/images/banners/1.gif" border=0></a> "; // end border eb($bg_colour,$colour_1); ?> But it won't display and I get the following error message on the page: Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/racadill/public_html/bfcart/box1.php on line 12 What's going wrong? ('cept me! ) Cheers for any help! Sara Quote Link to comment Share on other sites More sharing options...
roban Posted May 19, 2005 Share Posted May 19, 2005 Try taking out <?php at the top. Not sure about that echo" as well. Quote Link to comment Share on other sites More sharing options...
Guest racadillo Posted May 19, 2005 Share Posted May 19, 2005 Thanks ... that made me think.... no need for any of that php code in there at all really... it was only for an ad banner... I just made box1.php an html graphic link and that works fine Like I said... I'm a donkey Thanks for your help!! Sara Quote Link to comment 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.