I have copied and pasted the javascript code from google adwords conversion tracking straight into my "successful order" php page. Will this work, will a javascript work in a php page? If not how should I deal with it? Should I echo the script? Thanks Notting
It should work... try using: <script type="text/javascript" src="[B]your_file.js[/B]"></script> Code (markup):
yes. that will work with php files but you should place it out of php codes everywhere you want place codes close php tags with : ?> place your code and open your php tag again with <?php because adsense code use " or ' and this character will break your php codes
try echoing it as HTML remembering to escape characters like " (meaning if you have a " you need to type it as \")