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 Jim S. on 09/28/26 11:18

well, what is going on is, the form is like a data entry form, and the
person (or me) will enter some data, and click submit, and after that, i
want to go back to the form to enter more data, (or exit if am done)

so, following what i have said, how can i do what u suggested and still work
with what i need?
thanks
Jim

"Pr0 N00b" <nomail@mail.invalid> wrote in message
news:42ab6065$0$72791$e4fe514c@news.xs4all.nl...
> 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

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