Answered
Empty search results message shows up on page load
******************
if ($totalRows_rs_searchresults == 0)
{ // Show if recordset empty ?>
<div align="center" class="body">Sorry your search returned no results, please try again</div>
******************
That works fine but obviously it shows up when the page is first loaded as the number of search results is zero. So how do I get that message to NOT show up until the form has been submitted for the first time?
Cheers
Dave
if ($totalRows_rs_searchresults == 0)
{ // Show if recordset empty ?>
<div align="center" class="body">Sorry your search returned no results, please try again</div>
******************
That works fine but obviously it shows up when the page is first loaded as the number of search results is zero. So how do I get that message to NOT show up until the form has been submitted for the first time?
Cheers
Dave
