I have to make filters in which every condition is dynamic like greater than, less than equal to with && and || operator for that I have made below code
<?php
$a = 5;
$b = 2;
$grater = '<';
$equal = '==';
$and = '&&';
if(($a .$equal. $b)){
echo 'hii';
}else{
echo 'hello';
}
?>
but when I use this code it is not working properly. can anybody help me in this