|
Posted by MS on 06/13/05 18:46
form submit sends the info to
process_info.php where all your database inserts are performed etc..
at the end of process_info.php use
header('Location: http://www.yoursite.com/original_form.php');
to return the browser to the original form page.
--
----------------------------------------------------------------------------
http://www.clickonlingerie.com?SIG - Exotic Erotic Lingerie
----------------------------------------------------------------------------
"Jim S." <yeahright@hotmail.com> wrote in message
news:aQJqe.3558$pa3.1587@newsread2.news.atl.earthlink.net...
> 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]
|