$b = 'abc $a def';
$a = 'whatever';
Actually, what I think you'll end up with needing is more like:
eval("$c = \"$b\"");
You can't just eval($b) because that would be like typing:
<?php
abc $a def
?>
You need something roughly equivalent to:
<?php
$c = "abc $a def";
?>
http://php.net/eval
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]