$posts = array( "message" => 'this is a test message' ); foreach ($posts as $post) { echo $post['message']; }
为什么上面的代码只输出消息中的第一个字母?"T".
谢谢!
php arrays
arrays ×1
php ×1