Sorting alphabetically...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikas1111
    New Member
    • Feb 2008
    • 122

    Sorting alphabetically...

    Hi All


    I am doing a project in which user information will be displayed in admin view page.. Now i want to sort the displayed info alphabetically i.e. When i click on "A" user name starting from A must be displayed..Same with all alphabets.. How can i do that?? Database part i know..
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    MySQL has an ORDER BY clause. Check it out.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Better do that using Javascript. You don't want to go back to the server again to sort data that is already being displayed. Google "table sorting using Javascript" for some examples.

      Comment

      • vikas1111
        New Member
        • Feb 2008
        • 122

        #4
        Originally posted by markusn00b
        MySQL has an ORDER BY clause. Check it out.

        No May be i am not clear or you might not have understood it correctly... Anyways i have got solution for that,, I am getting late now,, I will explain in detail tomo and even solution for it.....


        Thanks for replying for both....

        Comment

        Working...