Required Field(s) missing result

后端 未结 2 928
别那么骄傲
别那么骄傲 2021-01-25 05:32

I\'ll just keep this question short. What is wrong with my php code, it keeps outputting 0 or Required Field(s) is missing. Here\'s the code



        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-25 05:56

    Just debug the $_POST['id'] and $_POST['status_id']. Before this line.

    if (isset($_POST['id']) && isset($_POST['status_id'])) {
    

    you will find answer automatically. Hopefully one of two post variables is not set. For debug use print_r($_POST);

提交回复
热议问题