Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Without seeing the page code, no certainty, but you probably have the form and the processing code in the same page.
In that case, you must enclose the processing code into a block to activate it only when the form is posted
PHP Code:
<?php if sizeof($_POST)>0{ //...handle the post processing here }
//put the page code here
__________________
Only a biker knows why a dog sticks his head out the window.
|