Clearing POST variable on page refresh

From: Date: Sun, 17 Dec 2006 22:59:31 +0000
Subject: Clearing POST variable on page refresh
Groups: php.general 
Request: Send a blank email to php-general+get-245930@lists.php.net to get a copy of this message
Hi, I have a page with a form on it which posts to itself. The problem is when someone refreshes the page it enters the data into the DB again. How do I clear these variables so that doesn't happen. I tried the unset function, but no luck. I really don't want to use sessions or cookies as this is just a simple little page, but still, it has to work right. Thanks

« previous php.general (#245930) next »