Hi all.
I have the following problem:
I read this string from an XML file: "User Name ={$username}"
and then store it in a local variable $test.
I read this in a function, where I have a local variable $username.
However the variable inside the string is not interpreted to get the local value, but just seen as a string itself.
so if i do: echo $test I get "User Name ={$username}".
if I define this locally as $test2="User Name ={$username}", the $username is interpreted correctly.
Any help will be greatly appreciated.
Thanks
Aristos