0
如何數組中發送陣列$_POST
在阿賈克斯(數據:form.serialize()
)形式的數據就像是array('name'=>'test','accom'=>array(0=>'test2'.1=>'test3'))
:
$.ajax({
url : 'add_tour_apply_control.php',
type : "POST",
dataType: "json",
data : $('#form_tour_mov').serialize(),
success : function (messData){
}
})