RE: [PHP] why this doesn't work as an external file but does internally?
| From: | Jay Blanchard | Date: | Tue, 05 Oct 2004 20:03:52 +0000 |
| Subject: | RE: [PHP] why this doesn't work as an external file but does internally? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198719@lists.php.net to get a copy of this message | ||
[snip]
If that was true then why does this work:
img1off = new Image(); img1off.src = "<?php echo $base_url;
?>Graphics/home_off.gif";
I certainly didn't generate it with PHP and it was included as an
external file.
[/snip]
If this is true then your problem is solved. if not....
echo "img1off = new Image(); img1off.src = . "$base_url .
"Graphics/home_off.gif";
I think I have the syntax correct