Hi, I was wondering how I can modify the if statement so that it dynamically evaluates the $bar condition. I supect I should use the eval function, however, I haven't been able to get the syntax correct. TIA setic
$foo == 'Yes' ?
$bar = '$sanity' :
$bar = '!sanity';
if ($bar) {
} else {
}