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? Link to comment https://forums.phpfreaks.com/topic/57061-solved-no-refresh/ 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... Link to comment https://forums.phpfreaks.com/topic/57061-solved-no-refresh/#findComment-281919 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 Link to comment https://forums.phpfreaks.com/topic/57061-solved-no-refresh/#findComment-281925 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! Link to comment https://forums.phpfreaks.com/topic/57061-solved-no-refresh/#findComment-281927 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.