i have a hyperlink that when i click then will show me an output of listed names.
i want to have this list arranged from A to Z in .
thanks.


um using PHP.

Member Avatar for diafol

more info. ARe the names from a DB?
If so, use the ORDER BY clause in your sql.
If not, I'd place them into an array and sort the array.

commented: Yeh From database .. thanks buddy got it . :) +1

use the query for it...

SELECT * from table_name order by name

Please show us the script so we can assist (blank any secure info)
also is this something better done with javascript?

If you are meaning sorting the listname in array,just using ksort for array key sorting or asort for array value sorting

select * from TableName order by name ;
commented: مشكوور يا حبيبي الغالي , تعيشش و تعيشش اليمن بي اكملها +1

Mark the thread as solved if your problem is solved....

Mark the thread as solved if your problem is solved....

oh yeh ! sorry :ooh: how i can do dat ? um quite new here :)

Has this thread been answered?
If this thread has been successfully resolved, please Mark this Thread as Solved so that it can be added to our Knowledge Base and help others. Also, posters who replied appreciate knowing that they were helpful.

this might be written at the end of thread....just click on MARK THIS THREAD AS SOLVED link...it will work...http://www.daniweb.com/forums/solved.php?t=360460..or click in the link given by me...

Be a part of the DaniWeb community

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