you can use a session : - start the session when the form is first sent - destroy the session upon the first valid insert - subsequent upadates will be prevented since the session is destroyed..
usually multiple updates happens when the user hits the submit button several times or upon refreshing the page ... hence the session method should work fine good luck ! --- Larry Brown <[EMAIL PROTECTED]> wrote: > Anyone know of a method of preventing a user from > refreshing a page. I get > multiple updates with the same information in my > database... > > Larry S. Brown > Dimension Networks, Inc. > (727) 723-8388 > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== +------------------------------------------+ |Wana Know what ISLAM is all about ? | +------------------------------------------+ visit : http://www.sultan.org/#int __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php