I'm new to PHP and would require some assistance if possible.
I have the array
array("Name" => $userName, "Age" => $userAge);
This works for one user but lets say I wanted to add multiple users that will all have a Name and Age how would I do that? Instead of passing is $userName would I have to pass it an array of user names and instead of $userage an array of user ages hence making it multidimesional?
Also for my purposes I cannot put the username and userage in an object and then simply add it to the array.