> else if($do_cancel) { > Header("Location: menu?pg=news"); <<---- wrong
Why can't you just check for $do_cancel at the beginning of the script. If you really have to re-direct to another page, why do you have to ouput anything before hand? It's not going to be shown, anyhow. Any page with this problem needs to have it's logic rethought. If you can't or are unwilling to do that, then use output buffering. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php