I have a 2d array that looks like this :
[0] => stdClass Object
(
[ProfileID] => SomeID
[Practice_Name] => Test Practice
[Telephone] => SomeNum
[Email] => SomeEmail
[Contact_Name] => SomeContact
[Address] =>
[City] =>
[State] =>
[ZipCode] =>
[Verification_Status] =>
[Last_Accessed] =>
)
So I would like to print each array as "SomeID, Test Practice, SomeNum....." and then on the next line print the next array values.
I looked into this question - Extract value from multidimensional array and place in comma separated string. But i was wondering if there is a way to do it without having to explicitly pass the field name for each like ProfileID, Practice Name, etc.