Very handy, I've been looking for something like this for a long time: http://php.net/manual/en/language.variables.variable.php
It works along the lines of:
$variable_name = "foo";
${variable_name} = "bar";
will set $foo = "bar";
Very handy, no?
Very handy, I've been looking for something like this for a long time: http://php.net/manual/en/language.variables.variable.php
It works along the lines of:
$variable_name = "foo";
${variable_name} = "bar";
will set $foo = "bar";
Very handy, no?