Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001072

[PHP-DB] Allowing refresh without form processing? From: John Pickett (xtremist <email protected>)
Date: 07/25/01

Hey,

I have a page where I'd like to allow the client to use their refresh
button. The only problem with this is, when they submit a form that's on
the page, it is parsed by the same page. So if they hit refresh, the same
information will be submitted twice (or more). How can I "clear" out any
knowledge that a form was submitted? I've tried adding unset
($HTTP_POST_VARS); to the bottom of the page but that didn't do anything for
it... Any other ideas?

BTW, I'm asking this because the form uses a db to process and I'm unsure if
that may be the issue or not...

My 2 ¢
John Pickett
http://www.bvstudios.com/
Co-Author: Inside Dreamweaver 4
http://www.amazon.com/exec/obidos/ASIN/0735710848/xtremist

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>