G'day All,
How do I find the number of elements in an arraY
$conditions = explode(" ", $readline);
$elements = numberofelements($conditions)
is there a 'numberofelements' function in php?
tia
bladecatcher
elements in an array
Moderator: General Moderators
-
AXEmonster
- Forum Commoner
- Posts: 34
- Joined: Fri Sep 05, 2003 11:27 am
- Location: newcastle UK
count($conditions) will do just for getting the number of elements - http://in.php.net/manual/en/function.count.php