I want to know if there is a way to use something like this:
$t1=1; $t2=2; $t3=\"$t1>$t2\"; if($t3) echo \"Greater\"; else echo \"Smaller\";
This looks like it should work, given the PHP eval page.
$t1=1; $t2=2; $t3="return $t1>$t2;"; if(eval($t3)) echo "Greater"; else echo "Smaller";