Dear Paul,
this is exactly the solution I needed, and works as described! Many
thanks for thinking through this with me.
Yours,
David.
On 8 Apr 2006, at 00:05, Paul Novitski wrote:
At 02:41 PM 4/7/2006, David Clough wrote:
I have to parse the string 'Hello $foo' as it comes from
At 02:41 PM 4/7/2006, David Clough wrote:
I have to parse the string 'Hello $foo' as it comes from the
database: I don't get to construct it.
I did hold out more hope for the eval function, but it seems to me that
this is for PHP code in a database, not to evaluate variables.
David, please tr
Thanks for all these responses, but unless I'm missing something none of
them work for what I need. Quotes are irrelevant: with the string "Hello
$foo" in $bar
echo "$bar"
echo $bar
both produce
Hello $foo
and
echo '$bar'
produces
$bar
I can't use any of the answers l
3 matches
Mail list logo