Page 1 of 1

How to Sort A Dynamic Database

Posted: Mon Jun 23, 2008 2:34 am
by KSL
I have a database where the data is pulled from a MySql Database into a recordset and displayed on my page.

What i am looking to do is have a function at the top of the page to allow the user to sort the tables by one of the displayed fields.

The page i am looking to do this on is here
http://www.key-services.co.uk/Cyprus_Re ... ttings.php

I am not looking to have the user click the colombe header, i would rather them be able to click a link at the top of the page so they can sort by Location, Price, Room Numbers Etc. maybe with a Menu Box or something Similar.

Thank you in advance for any help received.