i have a variable which outputs like:
$userid = "32 87 232 293 212";
So i want to assign a variable to each group of numbers.
$id = explode(" ", $userid);
Now, question is how do i automatically make it count
$id[0]
$id[1]
$id[2]
.. etc, when there more than 1 sets of number found???