Click to See Complete Forum and Search --> : A question on PHP


damon2003
10-23-2003, 05:48 AM
Hi,
I have a mysql database. I have a form where the use enters a code and php searches the database for a match. If the match is there then the search result is displayed on the same page. I can do this, however , what I want to then do is allow the user to do another search and is there is a match then the next result is displayed on the same page along with the first search. This can be done as many times as the user wants, so lots individual searches are shown.
What is the best way for this to be done? Not necessarily looking for any code, just some pointers on how to do this,
thanks a lot

pyro
10-23-2003, 07:27 AM
Since your new search will overwrite the values spit out by the previous one, you'll probably have to make a hidden input field that will remember their proir searches, and re-search for them when the search with a new query.

crypto
12-21-2003, 12:23 PM
Hi I was wondering if you could tell me how you did the search please cause i cant get mine working.

Thankyou.