You could use a SESSION variable called for instance 'SUBMIT_TO_DB'.
After submitting to the database, you simply set this variable 'SUBMIT_TO_DB' to 
The next time the page is reloaded, you won't have to submit one more time to the 
database, provided you check whether 'SUBMIT_TO_DB' is 'NO'.
And opposite: if it is not set, you SHOULD do the submission to DB. 

    My $0.02


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to