This content has been marked as final.
Show 2 replies
-
1. Re: Template with a search form inside
briz26 Sep 19, 2007 1:58 PM (in response to oicram)what language is this in?
cf for example would be:
<cfif query_name.recordcount is 0>
Sorry, no records found.
<cfelse>
</cfif> -
2. Re: Template with a search form inside
oicram Sep 19, 2007 2:21 PM (in response to oicram)Sorry its php.
I have to do two things:
1) Was a search performed?
2) Was the recordset_search result a zero?
Otherwise it will not work as expected.
Could this be a solution:
if (recordset == 0 and !isset($_GET['search']) {
Thanks for your time
