array and objects

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
MarioParty
New php-forum User
New php-forum User
Posts: 42
Joined: Tue Aug 02, 2011 2:52 am

Re: array and objects

Post by MarioParty » Sat Feb 08, 2014 10:36 am

Code: Select all

$array = array(); // Store the array in question in this variable
$post_id = $array['events']['1389348000']->post_id; // 599
 

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests