Re: Expand/parse variables in file
| From: | mailing_list at gmx dot at | Date: | Tue, 26 Jun 2001 06:45:40 +0000 |
| Subject: | Re: Expand/parse variables in file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55209@lists.php.net to get a copy of this message | ||
> $a = "whatever";
> $b = "abc $a def";
> echo $b;
but:
$a = 'whatever;
$b = 'abc $a def';
echo $b;
doesn't do what you like (and this is more likely your problem!)
this is the clue:
$a = 'whatever;
$b = 'abc $a def';
echo eval($b);
michi
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a