Hello all,
Ok hopefully someone could guide me in the right direction, maybe even a real simple example that i could later work out.
I have an a SQL query that displays the results. It splits the results onto multiple pages. lets say 4 pages with 10 rows on each. The rows per page are already defined in the code. here is what i would like to do.
=======================================================
I would like to have 3 form drop down boxes.
- Sort by "title of SQL field < ------example "Make, Model, Price" field
- Order by <------------------------- ASC (A - Z) or Desc (Z - A) only 2 field choices
3 Results per page <---------------- changing rows per page (5,10, 20)
Also a submit button that will excute the new change and carry over into all the pages.
=======================================================
I know from reading this form that i need to adjust the "ORDER by" in the SELECT statement, but im not getting it to work. I can't seem to get the form select to change the ORDER BY variable and carry into the next pages.
I would like to understand a real basic example so i could further understand the code that i am working with.
Any help i would greatly appreciate.
thanks
JB.