473,378 Members | 1,209 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Sorting alphabetically...

vikas1111
122 100+
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..
Jun 9 '08 #1
3 1559
Markus
6,050 Expert 4TB
MySQL has an ORDER BY clause. Check it out.
Jun 9 '08 #2
r035198x
13,262 8TB
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.
Jun 9 '08 #3
vikas1111
122 100+
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....
Jun 9 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: A.T. | last post by:
Am trying to sort the following file with the <xsl:sort> function, but can't get it to work properly. Would like the id column sorted according both alphabetically & numerically. (e.g. A-01, A-02,...
2
by: simon | last post by:
I have column of dataType varchar(10). The values in this column are decimal numbers, 'NUL', OR ''. (because of 'NUL' and '' values I haven't defined column as decimal(18,2)) When I fill...
9
by: Dylan Parry | last post by:
Hi folks, I have a database that contains records with IDs like "H1, H2, H3, ..., Hn" and these refer to local government policy numbers. For example, H1 might be "Housing Policy 1" and so on....
1
by: k1ckthem1dget | last post by:
My program displays the unsorted list of names in the array. How do i display these names in alphabetical order also. Here is my code. #include <iostream> using namespace std; const int...
3
by: CoreyWhite | last post by:
This code runs @ http://www.ckoogle.com but the trouble is once I get the list backwards, and in an array. I can't sort the new array into alphabetical order. Anyone know a way to do it? ...
3
by: ivijayan | last post by:
Hi Everybody Is there a way when one can sort data in a report according to one's choice and not ascending or descending alphabets or numbers? e.g., The sorting should be done in the following...
0
by: Martin H. | last post by:
Hi, I've got this problem with an enumeration of a property of a UserControl. The following code shows the problem: Public Enum TestEnum As Integer Arthur = 0 Zachary = -1 End Enum
1
KevinADC
by: KevinADC | last post by:
Introduction In part one we discussed the default sort function. In part two we will discuss more advanced techniques you can use to sort data. Some of the techniques might introduce unfamiliar...
7
by: Totti | last post by:
Hi all, I am a newbie to javascript learning it for 2 months now, i am trying to make a sorter who will read english words from the one tex area or data file and show the result in the 2nd text...
5
by: kylie991 | last post by:
I'm confused as to why this isnt working.. am i doing this right?? I have to create a function that does the following: - Insert a word to the linked list so that the list // ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.