ldsmike88 Posted May 29, 2006 Share Posted May 29, 2006 If I have an array of makes that includes Chrysler, Dodge, Ford, GMC and Honda, how would I count the array to see how many makes there were in the array? Thanks!Mike Quote Link to comment https://forums.phpfreaks.com/topic/10679-count-array/ Share on other sites More sharing options...
AndyB Posted May 29, 2006 Share Posted May 29, 2006 [code]$howmany = count($name_of_my_array);[/code] Quote Link to comment https://forums.phpfreaks.com/topic/10679-count-array/#findComment-39861 Share on other sites More sharing options...
ldsmike88 Posted May 29, 2006 Author Share Posted May 29, 2006 Awesome. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/10679-count-array/#findComment-40052 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.