Gossamer Forum
Home : Products : DBMan : Installation :

Showing what was searched for

Quote Reply
Showing what was searched for
Hi,

I see around other sites that when doing a search it will say something like "You search for Dog returned 10 results". How can I call and display what was searched for.

------------------
JFrost





Quote Reply
Re: Showing what was searched for In reply to
You might be able to do that if there was only one field searched on, but that would get awfully difficult to figure out. If you allowed searches on multiple fields, it would be impossible.

However, if you only had a keyword search on your site, you could do what you want to do.

print "Your search for <B>$in{'keyword'}</B> returned $db_total_hits results.";

----------------
JPD