<?php
if(count($_POST) > 0){
....
process form
...
header('Location: '.$_SERVER['PHP_SELF']);
die;
}
?>
<html>
...
your form here
...
</html>
"Eoghan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi,
> im posting a form to itself... and im wondering if there is any
> way to clear the post data from the page after if have dealt with it?
> to stop page refreshes posting the data again?
> thanks
> eoghan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php