在使用ajax時,如何將PHP裏面的數組傳送到js

php裏面這樣寫javascript print_r(json_encode( $blogs )); js裏面這樣寫php var blogs = JSON.parse(response);
相關文章
相關標籤/搜索