Drezard Posted April 7, 2007 Share Posted April 7, 2007 Hello, Whats a function to work out how many elements in an array... So like if i want to figure out how many elements in this array: $explodearray = explode(',' , $_SESSION['username']); How many elements are in the $explodearray? Elements as in the number in the brackets... thanks... Daniel Link to comment https://forums.phpfreaks.com/topic/45971-how-many-elements-in-an-array/ Share on other sites More sharing options...
fert Posted April 7, 2007 Share Posted April 7, 2007 http://us3.php.net/manual/en/function.count.php Link to comment https://forums.phpfreaks.com/topic/45971-how-many-elements-in-an-array/#findComment-223365 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.