Re: [PHP] Segmented Code/HTML VS. ECHO??

2001-11-19 Thread Jason G.
We are not writing in perl... Php offers a very handy feature, the ability to go in and out of html/php code by just using and the ability to echo data by using Seperate as much of your HTML from your PHP as possible. It will assist in readability, and maintenance.

Re: [PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Christopher William Wesley
I _hate_ echo'n out big batches of HTML, so I never do it. I prefer to include HTML, or have a class or function write HTML. However, printing in heredoc style is very handy ... more so than sliced bread. For example: The bear is ${name}. EOF; print( date() ); ?> PHP code, fo

RE: [PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Richard S. Crawford
I personally prefer an approach that uses an HTML generation class, sort of like CGI.pm, to spew out static HTML pages. Or I would, if I could figure out how to do it. ;) At 04:40 PM 11/18/2001, Martin Towell wrote: >I think it's just a matter of taste - I haven't found any noticable >differe

RE: [PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Martin Towell
To: [EMAIL PROTECTED] Subject: [PHP] Segmented Code/HTML VS. ECHO?? Hello, Other than the fact that sometimes, you just can't get raw HTML to process properly by dropping out of PHP code, what are the pros and cons of using RAW HTML or just ECHOING everything in PHP? Thanks for any in

[PHP] Segmented Code/HTML VS. ECHO??

2001-11-18 Thread Brad Melendy
Hello, Other than the fact that sometimes, you just can't get raw HTML to process properly by dropping out of PHP code, what are the pros and cons of using RAW HTML or just ECHOING everything in PHP? Thanks for any insights. ..Brad -- PHP General Mailing List (http://www.php.net/) To unsubsc