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
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报