lundi 16 mars 2015

How to dynamically pass condition of if statement

I am in a situation where I'll get comparison string in a variable, and I want to use that variable in IF


$xyz='$abc<200'; if($xyz) { echo 'you are dynamic'; }


In the example above the comparison string coming dynamically in $xyz variable and I want to put that variable in if condition, How do I do that?


Aucun commentaire:

Enregistrer un commentaire