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 .

um using PHP.

Edited by monta2020: n/a

7 Years
Discussion Span
Last Post by tomato.pgn

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.

Votes + Comments
Yeh From database .. thanks buddy got it . :)

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 ;
Votes + Comments
مشكوور يا حبيبي الغالي , تعيشش و تعيشش اليمن بي اكملها

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...

Edited by tomato.pgn: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.