Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

Searching on specific fields?

Quote Reply
Searching on specific fields?
Hi,

This might sound like a stupid question, but how do I do a search on a specific field using the PHP front-end?

The non-php front end using CGI allows you to use ?fieldname=searchterm, however I don't seem to be able to figure out how to do this with the php search, page.php?do=search&query= ???

Can it be done?

Kind regards,
Amanda
Quote Reply
Re: [Evoken] Searching on specific fields? In reply to
It should work. page.php?do=search&query=something&FieldName=something_here

Give it another go Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Searching on specific fields? In reply to
After dozens of attempts, it just decided to work! (?) I was testing it on localhost and everytime I did a search, php had a fatal error of some kind. I got it sorted now.

Thanks Andy.
Quote Reply
Re: [Evoken] Searching on specific fields? In reply to
No prob. I've had that before with PHP on my local PC. It just crashed for no reason at all...I don't think it was just Links SQL doing it though...as it was doing it with other scripts too. Seemed to just sort itself after a couple of re-boots Tongue

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!