hello everyone..im a new in php..now,im searching for php script to sort data by alphabet..can anyone out there help me...i really appreciate yours..

Recommended Answers

Pick the row you want to alphabetize and use the ORDER BY clause.

SELECT * FROM table ORDER BY name DESC;

ASC can also be used to sort ascending.

Jump to Post

All 4 Replies

Pick the row you want to alphabetize and use the ORDER BY clause.

SELECT * FROM table ORDER BY name DESC;

ASC can also be used to sort ascending.

What makes you think he is using a database?

thanx 4 the script..i'll try first...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.