cljones81 Posted March 22, 2008 Share Posted March 22, 2008 Hi: I am currently working on coding a very simple search engine and I am quite frankly stumped, my question is this is it possible for a page to be looped or referred back to itself, after it has send a processing request to the server, with the results of that processing displayed in a field. The reason why I ask this because I want my users to select a table and that tables fields be returned from the server and be inserted into 1 or more list boxes which I can do, thanks to some kind people and one in particular on this self same forum but cannot work out how to send the results of a request from the server to the originating page and have them display on that page. Hopefully with this information, my users will be able to construct there own queries, for instance, if they selected the member table- it may look like SELECT * from member WHERE id = 12345 AND JoinDate = 12/12/08 which would then be resubmitted to the server and the results be displayed on a separate page, again which I can do. But a have come to a gap in my php knowledge in this particular area. So if some kind soul could fill in that gap, I would be most grateful. Christian Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted March 22, 2008 Share Posted March 22, 2008 what u need to do is 1) Query to fill in your form fields 2) Submit the form 3) Process the search query and repopulate the page with the form fields + search results look at some pagination tutorials as they will be very simila rto tihs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.