Hi dr
Try using variable variables syntax:
$a = "abc";
$b = "def";
$abcdef = "hello";
//output variable variable
echo ${$a.$b};
output: hello
cheers,
Tom.
Dico Reyers wrote:
Hi There,
Is this possible? And howso...
$a = "abc";
$b = "def";
$abcdef = "hello";
What I am trying to do is combine $a and $b so that I can output $abcdef.
ideally echo $a$b; would output "Hello";
How can I do this?
thanks,
-dr