I have if else condition as string like $cond = '40 < 50 and 60 > 70'; how can I execute it in PHP with out exec. if ($cond) not working as it just pass if variable exists or not. Thank you
$cond = '40 < 50 and 60 > 70';
if ($cond)
Aucun commentaire:
Enregistrer un commentaire