woody79 Posted June 25, 2007 Share Posted June 25, 2007 I have a page that adds info to a mysql table and i want to disable refresh so the data can't be added twice. How do i do this? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted June 25, 2007 Share Posted June 25, 2007 after your insert/update query use header ('Location: ' . $someurl); where $someurl is the page you want them top go to... Quote Link to comment Share on other sites More sharing options...
woody79 Posted June 25, 2007 Author Share Posted June 25, 2007 Yeah i thought about doing that,but the person needs to view information before leaving Quote Link to comment Share on other sites More sharing options...
woody79 Posted June 25, 2007 Author Share Posted June 25, 2007 I'll just create another page after that! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.