You are here: Re: reset the form after submit, how? « All PHP « IT news, forums, messages
Re: reset the form after submit, how?

Posted by Pr0 N00b on 10/10/89 11:18

Jim S. schreef:
> i have a form, it works great (yey!) but if i refresh, it resubmit the info
> (that are in the post), so how can i prevent that from happening?
> thanks
> Jim

Don't output any data when the form is submitted, but redirect the user
to another page using the following php code:
header('Location: http://www.yoursite.com/postresult.php');

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация