TinyPortal
Development => Support => Topic started by: pjr on October 19, 2006, 04:48:37 PM
this code
<div style="height:600px;width:300px;">
<a href="http://grazr.com/gzpanel.html?view=3p&file=http://www.ourplacetoplay.com/optp.opml" target="gz"><img src="http://grazr.com/images/grazrbadge.png" border="0"></a>
<script defer="defer" type="text/javascript" src="http://grazr.com/gzloader.js?view=3p&file=http://www.ourplacetoplay.com/optp.opml"></script>
</div>
produces this error
Parse error: syntax error, unexpected '<' in /var/www/localhost/htdocs/forum/Sources/Load.php(1613) : eval()'d code(225) : eval()'d code on line 1
Can some one help me out?
ur putting that in a PHP box
it needs to go in a Script Box
putting it in an article a php article not a box
Try
echo '<div style="height:600px;width:300px;">
<a href="http://grazr.com/gzpanel.html?view=3p&file=http://www.ourplacetoplay.com/optp.opml" target="gz"><img src="http://grazr.com/images/grazrbadge.png" border="0"></a>
<script defer="defer" type="text/javascript" src="http://grazr.com/gzloader.js?view=3p&file=http://www.ourplacetoplay.com/optp.opml"></script>
</div>
';
that worked thanks
It might just work as you had it before in an html article, as long as you turn off the editor before you paste the code in. But the php works, so that's cool. :)