[Solved] how print false if column value is 0 or less than 0 or null,print true if value is greater than 0 [closed]
assuming that your values are integers you can just do this way: if($info[‘EmailCount’] && $info[‘SMSCount’] && $info[‘EmailCount’] >= 0 && $info[‘SMSCount’] >= 0){ echo “true”; }else{ echo “false”; } 7 solved how print false if column value is 0 or less than 0 or null,print true if value is greater than 0 [closed]