This is probably quite a basic question (or at least the response is probably quite obvious for those who know PHP well 🙂...
Anyway, the question is:
If I pass a variable $test from a form containing a string "1+1", is there any way to use that string as-is in PHP.. in other words, to execute it as a part of the script as in
$total = "$test";
which would evaluate to $total having the value of "2" (integer) rather than "1+1" (string)?
Thanks,
// Ville