06-02-2008, 04:40 PM
|
#17 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
If the result of the form being processed is that you're forwarding the user to another page, why not place it at the top?
PHP Code:
<?php if (isset($_POST['update_cart'])) { // do your stuff and redirect } ?> <html> ... do your other stuff .. </html>
This also has the bonus that if you want to display an error message on the form, you can set one at the top of the page that will be displayed later on only if it's found to be set.
-m
|
|
|
|