I tried eval earlier but I'm not sure of how to get it to work in that fashion. All the examples show it used to convert the variables, but not follow the other commands. Or maybe I'm just fried?
$var = 'echo "test"';
echo "$var<br>";
eval("$"."var=".$var.";");
echo "$var<br>";
I want it to just print out "test" but it still prints out the original $val value.