Hello,
I have a quick question...
I have something like this:
$var = "Hello $firstname how are you?"
on an included file...
Then in another file (that includes the above)
I have:
$firstname = "foo";
echo $var;
In the output:
'Hello how are you?"
So, it appears that $firstname isn't in scope... and yet it is.
I have tried using eval(), only to get the same result.
I know in ColdFusion, I would just use the cf_stringevaluate tag... but this is something else... "something elusive." (sorry for the ob1 quote 🙂
I know I'm probably just overlooking something.
Thanks!