Solved the problem. In case anyones wondering, I had the PHP script starting with a <script> and ending with </script> when I already had that done in the HTML page.
Simple "Georgie Casey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In HTML, you can do this: > <script language="JavaScript" > src="http://localhost/top_stuff.php?affiliate=1"></script> > > But the script isn't executed before being used by the browser, it's > returned with PHP tags and all, which obviously gives JS errors. Is there > any setting you can change in Apache that let's you do this. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php