hi all ok im quit new to php codes! so be nice! ok im trying to find a sorting script, that can display data from a database and allow the user to sort it, i have google yahoo and every thing no such luck! can any of you PM me a link or give me some good information to get one!? cheers ancientcity
well you can use sql itself to sort the data, that will be the easiest and most efficient thing to do... google for "ORDER BY" for more info, apparently i can't post links yet... if you want an example supply me with a snippet and i'll gladly make you an example...
I think he wants to allow the user to be able to sort the result.. hm.. i would use jquery sortable in this condition.. use php to populate the elements to be sorted. http://ui.jquery.com/repository/tags/latest/demos/functional/#ui.sortable use the callback to post it to a php file which would take the array and put it back in the database. Depends on how comfortable you are with js and php. use trial and error and try to get it to work
ok guys thanks for the effort! i have found a web site http://yoast.com/articles/sortable-table/#example but im going to have to input the detail manually! it will do for now!