RE: [PHP-DB] reseting form
| From: | Juhana Tahvanainen | Date: | Thu, 15 Jun 2000 09:00:43 +0000 |
| Subject: | RE: [PHP-DB] reseting form | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-434@lists.php.net to get a copy of this message | ||
sure i can do that but its required to do in one page so three different
pages is not what im looking for. and news are going to db so i think this
is db related question... in some way.
but thanks anyway.
---J
On Thu, 15 Jun 2000, "Gustafson, Mårten" wrote:
> Hello.
> Please send your general questions to the general list, this list is only
> for PHP/DB related questions.
>
>
> You should consider something like this:
>
> page1.php -> form, form action points to page2.php
> page2.php -> form validation, processes data submitted and redirects to
> page3.php
> page3.php -> displays ok message or error
>
> The point is to have a separate script to process the data which then
> redirects to another page when done.
>
> regards
> --marten
>
> > -----Original Message-----
> > From: Juhana Tahvanainen [mailto:hakuchi@students.llaky.fi]
> > Sent: Thursday, June 15, 2000 10:08 AM
> > To: 'php-db@lists-php.net'
> > Subject: [PHP-DB] reseting form
> >
> >
> >
> > i need reset form after posting news from form. i use
> > $PHP_SELF as a form
> > action. everything goes well until user hits reload after news is
> > posted and gets "repost form data?" dialog, and ok posts news
> > again. and i
> > really need that page can be reloaded.
> >
> > ---J
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
>