Sorry for the brief undesisive explanation.
In the database I have lots of entrys.
I have each entry numbered with the name of 'fid' for 'field id' 1, 2, 3, 4 etc.
In the database there is also a entry for the fid called category, within there are lots of entrys, dogs, cats, birds and cats.
The problem is each fid has all different catagories.
From our site the user selects dogs. I want it then to goto the specific fid and select from the category the first thing that comes up with the word dog in it and bring it back to me.
I hope that is more descriptive.
Thanks
Nick
Daarius wrote:
i am not very clear of what you mean, but if you want to do simple search in your DB, then why not use LIKE in your SQL query?
e.g.
SELECT * FROM dogs WHERE field_name LIKE '$keyword';