Re: why this doesn't work as an external file but does internally?

From: Date: Tue, 05 Oct 2004 19:50:36 +0000
Subject: Re: why this doesn't work as an external file but does internally?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198715@lists.php.net to get a copy of this message
Aaron Wolski wrote:
Hi guys, I have this code Javascript code: <snip>
When I include it in the main page it works without any problems. When I link it as an external file it doesn't work. As a side note, the following code example works in an external JS file: img1off = new Image(); img1off.src = "<?php echo $base_url; ?>Graphics/home_off.gif"; Anyone know why the external file with two variables is not working but it does work with one variable?
What is "doesn't work"? Does it not output the second variable? Does it output php code? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#198715) next »