The following code continues to be displayed even if there are entries in my database and I don’t understand why. Am I missing something? I’m not sure if this makes sense, but help would be great. 🙂
if($numrows==0)
{
echo"<h3>Results</h3>";
echo"<p>Sorry, your search: "".$escaped."" returned zero results</p>";
}
If the code you’re having a problem with is the same as quoted in your previous question… then the problem is here:
You’re missing a $ before numresults on the second line.