This has been bugging me for a while now! I'm trying to figure out a way to make a string part of a variable name. I know you can do this:
$var = 'string';
$$var = 'something';
echo $string;
however, I'd like to concatenate the term 'string' with something else, such as:
$var = 'string';
$$var._test = 'something';
echo $string_test;
That syntax isn't correct, but I'm wondering if there is some way to do it?
Cheers
Matt