Hey guys.. like some people im new to php (bout 2 days). I have a functioning php script that connects to a database and i can search and display everything perfectly in my eyes.. i added a select form to have customization to sort by but i have to retype my search and criteria back in the search box to sort. Is there a way i can auto refresh the page with the original search and criteria and have it sorted on the refresh.... ?? Thanks for any help in advance // my script is below
hello, you can save the search expression in the html form and when you want to resort, just submit the form and handle it appropriately on the server side.