I have a pagination script thats already finished and working how id like it to.
I have a drop down menu that auto submits on change that manages my articles. Right now it just deletes the selected entries checked by the user. (more features will be added later) This is all contained in one form.
I would like to have a search area to search the database and display returned results with my pagination script so that it doesnt display all the results with the normal pagination (no search performed) I want it to display the results of the search on the same page instead of the non searched results. (I hope that makes sense) Should this search area be in a separate form than my drop down menu?
http://img.photobucket.com/albums/v487/xfezz/forms2.jpg
For a visual reference above is a screen shot of my layout. Currently the search text field and button is in a separate form than my drop down menu.
- This question relates to question number 2. Should the search code be on a separate page from my pagination? So when the user clicks on the search button the action is to a separate page than my pagination? The main reason why I have them in two separate forms is because I want the user to use the search button not the drop down menu for the search. I suppose its all the matter of preference when it comes down to it.