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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux