Re[2]: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Mantas Kriauciunas
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 reall

RE: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread John Holmes
>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

Re: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Michael Kimsal
Mantas Kriauciunas wrote: because i have lots of outputs before it..and i need them all..so..what should i do? If you need them, why are you redirecting away from them? You can't 'need' to display something and simultaneously 'need' to redirect away from that same something. Michael Kims

Re: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Mantas Kriauciunas wrote: > I have code like this(code starts at 100 line and has lots of > outputs): >Header("Location: menu?pg=news"); << wrong > i have problem with Header, how should i change it? any suggestions? > is there any other function

Re[2]: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Mantas Kriauciunas
Soza JS> - Original Message - JS> From: Mantas Kriauciunas <[EMAIL PROTECTED]> JS> Date: Friday, May 3, 2002 4:59 pm JS> Subject: [PHP] if cant use header what should i use? or how to do this? >> Hey PHP General List, >> >> I have code like t

[PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Mantas Kriauciunas
Hey PHP General List, I have code like this(code starts at 100 line and has lots of outputs): if($news==del) { if(!$nr) { show_news_menu(); show_news_del(); } else if($nr) { if($do_del) { $online = @mysql_connect($d