I am trying to loop through a JSON Object (DATA) containing three nested JSON Objects (NEWUSERS,NEWUSERDATA,NEWRELATIONS), using a switch function to choose the appropriate function for a MySQL insert. Each function housed in the switch is called once as I loop through the keys, but they ALL seem to only ever receive the NEWRELATIONS object. [...]
The post PHP not iterating through nested JSON properly appeared first on BlogoSfera.