I want to show a part of the page when there is not a search yet. This part must disappear if the visitor start using by submitting a search term.
This give’s me the opposite. It shows the page element when there is a search.
<?php if($results->count()) : ?>
Some Code
<?php endif ?>
So I changed it to equal or greater than 1 result. But it seems not to work. What am I doing wrong?
<?php if ($results->count() ≥ 1): ?>
Some Code
<?php endif ?>
Thanks!