I'm getting a Parse error: syntax error, unexpected T_LNUMBER from this adbrite code. Any suggestions to fix it? Code: <script type="text/javascript"> var AdBrite_Title_Color = '80ff00'; var AdBrite_Text_Color = 'ffffff'; var AdBrite_Background_Color = '444444'; var AdBrite_Border_Color = '444444'; var AdBrite_URL_Color = '008000'; </script> <span style="white-space:nowrap;"><script src="http://ads.adbrite.com/mb/text_group.php?sid=xxx" type="text/javascript"></script><!-- -->[url="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=xxx"].[/url]</span>
yeah delete it then do the exact same thing and see if you get the same code error. if you do then contact adbrite about it and let them know that they are having programming errors when when their code it generates. that is the best thing that i do when i get a error code. :mrgreen:
I figured out that this code is fine to insert into a html file but not a php. I had to modify it like this to resolve the problem: Code: <script type="text/javascript"> var AdBrite_Title_Color = \'80ff00\'; var AdBrite_Text_Color = \'ffffff\'; var AdBrite_Background_Color = \'444444\'; var AdBrite_Border_Color = \'444444\'; var AdBrite_URL_Color = \'008000\'; </script> <span style="white-space:nowrap;"><script src="http://ads.adbrite.com/mb/text_group.php?sid=xxx" type="text/javascript"></script><!-- -->[url="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=xxx"].[/url]</span>
well that is good that you got it to work with .php file from HTML...not really good php but not the greatest with HTML though...