Jump to content

Can php mysql server sort?


11Tami

Recommended Posts

Hello, is there a way to make mysql server sort its fields? Like if I wanted the fields to appear by alphabet of the name instead of just which one was entered first.

 

Please let me know if you can sort these fields, I looked everywhere can't see how to do it, yet other databases can sort. Please let me know, thank you very much.

Link to comment
Share on other sites

Thanks, first there is the whole database, then the tables. Then all the fields in each table. The fields in the table is what I need sorted. So right now I have many fields in one table. The first field is listed as "name." With other fields after it. When I click on browse to look at all the rows that have been entered, the rows are not listed alphabetically. Instead they are listed by which row was entered first and last.

 

Another way to explain it. There are forms on the web pages. Each person comes along and enters their information. It is sent to the database. Each entry for each person appears as a row in the fields. So I have all these rows being added. But they are being with the last one being added at the end. Instead of alphabetical by what their name is.

 

Fields, first field is name  [name] [information]

Rows                            [Tami]  [Tamisinfo]  [grey]

                                  [betty] [bettyinfo]  [blue]

 

I'd like it to be alphabetical by name, so that Betty would come before Tami. Not Betty last just because she entered her stuff in after Tami. Either sorted alphatically automatically when they are added. Or sorted when I come along later and hit a button to sort everything. Hope someone knows a way. Thank you very much.

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.