@ruaideh That does not make sense, because count()
returns an integer, not true or false. So if you want to use count, you would have to compare it against an expression
<?php if($results->count() > 0): ?>
@ruaideh That does not make sense, because count()
returns an integer, not true or false. So if you want to use count, you would have to compare it against an expression
<?php if($results->count() > 0): ?>