soma56 Posted August 15, 2010 Share Posted August 15, 2010 I've figured out how to change all of an arrays keys to lowercase: $lower_case_array = array_change_key_case($mixed_array, CASE_LOWER); But I can't seem to find a way to change the values of an array to lower case. Is there a simple way to do this? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 15, 2010 Share Posted August 15, 2010 You could use array_map, set the first parameter to 'strtolower' (including the quotes) and the second parameter to $lower_case_array. Quote Link to comment Share on other sites More sharing options...
MadTechie Posted August 15, 2010 Share Posted August 15, 2010 See example code i put in your other thread 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.