> I have a message board written in PHP w/MySQL. > So when a person submitting a post, it goes to a list_view. > If this person refresh the list_view. > The message he submitted will get submitted again. > How can I avoid this problem? > Please let me know if you know the answer. Thanks
This question is asked every week, it seems. Best method is to use a "middle-man". Use a middle page that processes the new post, then redirects the user to the next page. You can use a PHP header() solution, or a javascript META-REFRESH method. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php