這是我的數組,使用print_r。我應該如何獲得冠軍?如果我的數組在php中看起來像這樣,我應該如何獲取實體?
Array (
[0] => Array ([homework_id] => 2 [title] => english0610 [due_date] => 2012-10-09 00:00:00 [description] => english [key] => 12345 [author] => tom [attachment] => [group_id] => TJ10S1 [create_date] => 2012-10-07 00:00:00)
[1] => Array ([homework_id] => 1 [title] => math0610 [due_date] => 2012-10-08 00:00:00 [description] => math homework for today [key] => 12345 [author] => tom [attachment] => [group_id] => TJ10S1 [create_date] => 2012-10-06 00:00:00)
);
試了谷歌,PHP手冊,研究一些書嗎? – markus