HELP - fwrite(...PHP code...)
| From: | Hankley, Chip | Date: | Thu, 12 Sep 2002 19:44:18 +0000 |
| Subject: | HELP - fwrite(...PHP code...) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116194@lists.php.net to get a copy of this message | ||
I have an application where I need to write PHP code to a file that will be
used later...but it's not working the way I'd expect.
When I issue the following:
fwrite($fp, "<? echo $LayerScale");
If $LayerScale is defined, then fwrite outputs the value of $LayerScale to
the target, NOT the string $LayerScale.
How can I overcome this?
Chip