If there a way to count how many values there are in a array variable? Like
$array = array();
$array[0] = "Hi";
$array[1] = "Hello";
$array[2] = "Hey";
echo count($array); // Out puts 3
Thanks for your time
- Dan
EDIT: Nevermind for some reason the code I posted is the correct way to do it. :o