R: PHP Question

From: Date: Thu, 11 Apr 2002 14:44:46 +0000
Subject: R: PHP Question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18433@lists.php.net to get a copy of this message
When the user post a message, proccess the queries on temp page and then redirect to a page where you display message to user. In this case if he hits reload button, php don't repeat queries. I thing it should work. Bye Moreno -----Messaggio originale----- Da: Nick Stuart [mailto:nick@newtsplace.com] Inviato: giovedì 11 aprile 2002 16.14 A: mysql@lists.mysql.com Oggetto: PHP Question Ok so this really doesnt have anything to do with MySQL but I thought this might be a good placeto ask. Ok heres the problem. I am constructing a Message Board with MySQL and php (was usingASP) and I dont want the user to reload/repost data. For example, say the user goes to post amessage, after they hit the post button it takes them to a temp page saying that there post wassuccesful with a link to go view the post. The problem arises if some one decides to hit thereload button. Because of the way I have the posting page setup it will reload the page and postthe message again! doh! Anyways, has anyone come up against a similar problem and found a way around it? Thanks in advance. -Nick --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <mysql-thread105853@lists.mysql.com> To unsubscribe, e-mail <mysql-unsubscribe-m.riccardi=webtrade.it@lists.mysql.com> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

« previous php.db (#18433) next »