This question already has an answer here:
Building a custom site for non-profit. Have a hang up on the search page.
Here is what I have...
It shows results but does not show anything for empty results. I can not figure this one out.
while($rowitem = mysqli_fetch_array($results))
{
If (empty($results))
{
echo 'NO RESULTS';
}
Else
{
echo "<div>"; .....
There is a lot of code past this that works.
I appreciate any help that anyone can provide. I am sure it is something simple that I am screwing up.
</div>