fazlionline Posted March 16, 2009 Share Posted March 16, 2009 can PHP sort a dropdown which have many options?and how? Link to comment Share on other sites More sharing options...
carefree Posted March 16, 2009 Share Posted March 16, 2009 Ive done this ages ago.......but forgot how to nowIf the drop down is database driven thats easy - SORT BY name ASC Link to comment Share on other sites More sharing options...
fazlionline Posted March 23, 2009 Author Share Posted March 23, 2009 Dear this is not databased linked.but i wish it tooi want to link this drop down to a database but how??? Link to comment Share on other sites More sharing options...
Ingolme Posted March 23, 2009 Share Posted March 23, 2009 If it's an array, there are several methods to sort them: http://w3schools.com/php/php_ref_array.aspLook at asort(). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.