I have a variable like this
$string = "0>0.1";
I want to evaluate this inside an if loop like this
if($string)
{
///something
}
but im getting an error if i am doing this. How to go about it
See Question&Answers more detail:osI have a variable like this
$string = "0>0.1";
I want to evaluate this inside an if loop like this
if($string)
{
///something
}
but im getting an error if i am doing this. How to go about it
See Question&Answers more detail:os