Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在codeigniter中,提交表单后,我的值被存储到数据库中。但是在刷新后它再次存储相同的数据。我该如何解决?请帮我。
数据存储成功后,在控制器中,使用redirect('controller/method', 'refresh')函数。
redirect('controller/method', 'refresh')