Page 1 of 1

code error help me plz

Posted: Sat Feb 06, 2010 6:11 am
by bdsur
i am put this ad <!-- BEGIN SMOWTION TAG - 728x90 - hi quality webhosting company in asia pacific: p2p - DO NOT MODIFY -->
<script type="text/javascript"><!--
smowtion_size = "728x90";
smowtion_section = "801587";
//-->
</script>
<script type="text/javascript"
src="http://ads2.smowtion.com/ad.js">
</script>
<!-- END SMOWTION TAG - 728x90 - hi quality webhosting company in asia pacific: p2p - DO NOT MODIFY -->

when i put it geeting error message
Parse error: syntax error, unexpected T_STRING in /home/hostmela/public_html/forum/includes/template.php(650) : eval()'d code on line 184 whats wrong?
how can i fixed it please help me.

Re: code error help me plz

Posted: Sat Feb 06, 2010 6:23 am
by computersOC
Sounds like that needs to go in your forum's template, not the PHP file.

Re: code error help me plz

Posted: Sat Feb 06, 2010 6:34 am
by Lumpy Burgertushie
change this:

Code: Select all

<!-- BEGIN SMOWTION TAG
to this:

Code: Select all

<!-- START SMOWTION TAG
and change this:

Code: Select all

<!-- END SMOWTION TAG
to this:

Code: Select all

<!-- STOP SMOWTION TAG
BEGIN and END in that context are reserved for phpbb variables.

robert

Re: code error help me plz

Posted: Sat Feb 06, 2010 6:44 am
by bdsur
Lumpy Burgertushie wrote:change this:

Code: Select all

<!-- BEGIN SMOWTION TAG
to this:

Code: Select all

<!-- START SMOWTION TAG
and change this:

Code: Select all

<!-- END SMOWTION TAG
to this:

Code: Select all

<!-- STOP SMOWTION TAG
BEGIN and END in that context are reserved for phpbb variables.

robert
u are rockz working fine now.really thank u. :D