push data into object into array php

Questionspush data into object into array php
sethbeckerman5 Staff asked 4 years ago

Well, I have an array that contains objects inside.
it's something like this…

What I'm trying to do is make a for loop and in each iteration insert, for example, a last name for each first name. The Array should be something like this…

This is make with PHP


View on Stack Overflow