Re: JAVASCRIPT INCLUDES

From: Date: Sun, 22 Sep 2002 23:20:05 +0000
Subject: Re: JAVASCRIPT INCLUDES
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117208@lists.php.net to get a copy of this message
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" <webmaster@filmfind.tv> wrote in message news:20020922225913.18092.qmail@pb1.pair.com... > 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. > >

« previous php.general (#117208) next »