0

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.

Edited by monta2020: n/a

7
Contributors
9
Replies
10
Views
6 Years
Discussion Span
Last Post by tomato.pgn
1

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 . :)
0

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

0

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

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

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

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

0

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.