I was searching through PHP.net and
wasnt able to find something that will convert a string which is a math formula
back into a formula, here is what i mean:
$formula =
$_POST['formula'];
// $formula ==
3*$counter2+3*$counter1
$counter1 = 1;
$counter2 = 2;
$temp = $formula;
// $temp == "3*$counter2+3*$counter1"
not 9 which is what i want, Can someone please give me a clue as to where i can
find help on this
|