Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread CF High
Thanks for the informative response, Leif. Looks like you and Johannes are on the same page -- these solutions save a great deal of time. Thanks, --Noah "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > No. You can either echo/print with a her

Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread Noah
OTECTED]> To: "'CF High'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 25, 2003 8:42 AM Subject: RE: [PHP] Switch statement || How to output html without using echo() or print() > > I've got a simple switch statement that carries

Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread Noah
PROTECTED]> Sent: Saturday, January 25, 2003 8:38 AM Subject: Re: [PHP] Switch statement || How to output html without using echo() or print() > On Saturday 25 January 2003 20:38, CF High wrote: > > > Each operation has @ 50 lines of html -- do I have to echo or print

Re: [PHP] Switch statement || How to output html without using echo()or print()

2003-01-25 Thread Leif K-Brooks
No. You can either echo/print with a heredoc (which is still echoing/printing, but is a lot easier) or you can exit PHP. For example: switch($somevar){ case 'case1': print <<< END some html some html some html END; break; case 'case2': print <<< END some html some html some html END; break; } ?

Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread Johannes Schlueter
On Saturday 25 January 2003 20:38, CF High wrote: > Each operation has @ 50 lines of html -- do I have to echo or print all > this html!? Try something like Hello johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread John W. Holmes
> I've got a simple switch statement that carries out one of several > operations based on the switch statement variable value. > > Each operation has @ 50 lines of html -- do I have to echo or print all > this > html!? You could put your HTML into a separate file and just include() it wherever y

[PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread CF High
Hey all. Don't know if this is possible, but here goes: I've got a simple switch statement that carries out one of several operations based on the switch statement variable value. Each operation has @ 50 lines of html -- do I have to echo or print all this html!? I'm new to PHP so pardon my ign