webguync Posted August 9, 2008 Share Posted August 9, 2008 How would I print an array such as the following in alphabetical order? $fruits= array(Apples, Strawberries, Oranges, Bananas, Pears); Quote Link to comment Share on other sites More sharing options...
DarkWater Posted August 9, 2008 Share Posted August 9, 2008 I hope you have ' ' around those strings...Anyway, check out the sort function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.