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
On Thu, 12 Sep 2002, Hankley, Chip wrote:
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?
fwrite($fp, ? echo \$LayerScale);
g.luck,
~Chris
--
PHP
2 matches
Mail list logo