Hey 'PHP General List',

Got your email on:Friday, May 03, 2002, 7:59:29 PM writing:

:----
>>                else if($do_cancel) {
>>                        Header("Location: menu?pg=news"); <<---- wrong

JH> Why can't you just check for $do_cancel at the beginning of the script.
JH> If you really have to re-direct to another page, why do you have to
JH> ouput anything before hand? It's not going to be shown, anyhow. Any page
JH> with this problem needs to have it's logic rethought. 

JH> If you can't or are unwilling to do that, then use output buffering.

JH> ---John Holmes...



:----

thank you all for help.. problems have been solved. there was some
logic things that i did in wrong way... thanks

:------------------------------:
        Have A Nice Day! 
 Mantas Kriauciunas A.k.A mNTKz

Contacts:
[EMAIL PROTECTED]
Http://mntkz-hata.visiems.lt


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to