Hi,

Instead of the usual flow chart of form.php -> process.php, where
process.php displays a "thankyou" message afterwards, change it to:

from.php <-> process.php -> thanks.php

process.php doesn't echo anything out to the browser at all... it validates
your form data, and depending on what happens there, it will use a header()
redirect to send the user back to the form, or forward to the thanks.php
page.

in practice, all three actions (form, process, thanks) can all happen within
one PHP script, but i split it into 3 for clarity.


justin



on 21/03/03 8:56 PM, WMB ([EMAIL PROTECTED]) wrote:

> Am using dreamweaver and hv an entry form on a page, which works fine,
> unfortunately upon page
> refresh the data gets entered another time and another time again on
> refresh.
> Any solutions on this?
> 
> Thanks,
> Martin
> 
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to