duanhuangyun3887 2014-03-30 18:55
浏览 25
已采纳

PHP提交表单并刷新[关闭]

On my page ive got a form and a table which should update after the form is submitted by the user. However once user presses submit button, all info gets passed to DB but table is not updated on the website but if i press reload button myself it gets updated. How do i achieve those tables to be updated straight away after user submits the form?

  • 写回答

1条回答 默认 最新

  • doushanlv5184 2014-03-30 19:03
    关注

    I guess you are rendering the table before updating the database...

    make sure you update the DB, then get the data again from there to create the table

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?