What to do with php after jquery .serialize()

后端 未结 3 765
慢半拍i
慢半拍i 2020-12-19 19:37

Ok somehow im having the hardest time figuring this out so i want to do an call ajax with a form and im using jquery to serialize it with .serialize(). The data being sent t

3条回答
  •  太阳男子
    2020-12-19 19:54

    You values exists in formInfo index of $_POST array,

    print_r( $_POST['formInfo'] );
    
    echo $_POST['formInfo']['key1'];
    

提交回复
热议问题