Hello,
Can someone tell me what the best way is to read a array like this:
array(2) {
[0]=> object(stdClass)#2 (11) {
["customer_id"]=> int(1)
["created_at"]=> string(19) "2014-07-15 07:54:08"
["updated_at"]=> string(19) "2014-07-16 15:14:54"
["store_id"]=> int(1)
["website_id"]=> int(1)
["created_in"]=> string(18) "Default Store View"
["email"]=> string(12) "john@doe.nl"
["firstname"]=> string(3) "John"
["lastname"]=> string(4) "Doe"
["group_id"]=> int(1)
["password_hash"]=> string(65) "rhfdhahtewhgwshredf"
}
[1]=> object(stdClass)#3 (11) {
["customer_id"]=> int(2)
["created_at"]=> string(19) "2014-07-25 19:55:31"
["updated_at"]=> string(19) "2014-07-25 21:58:15"
["store_id"]=> int(1)
["website_id"]=> int(1)
["created_in"]=> string(18) "Default Store View"
["email"]=> string(19) "ellen@doe.nl"
["firstname"]=> string(5) "Ellen"
["lastname"]=> string(9) "Doe"
["group_id"]=> int(1)
["password_hash"]=> string(65) "sdthweshwehehweds"
}
}
This is the output of a website that Csharp will get and put into an variable.
Can someone tell me what te best way is to read this.
Greetings,
Jos
No comments:
Post a Comment