Re: [PHP] HTML via echo or not

2003-12-29 Thread David T-G
Robin -- ...and then Robin Kopetzky said... % % Good evening. Hiya! % % I'm probably going to stir up a hornet's nest but have a question. Probably so :_0 % % Does using echo for ALL html pages mean I have a sick mind? Example: I don't think so. % % echo CR, '', %

Re: [PHP] HTML via echo or not

2003-12-29 Thread Robert Cummings
On Mon, 2003-12-29 at 20:34, Jordan S. Jones wrote: > Why make PHP work harder than it needs to? A decent compile cache will optimize literal concatenation so that only variables are concatenated at run time. Cheers, Rob. -- .. | InterJ

RE: [PHP] HTML via echo or not

2003-12-29 Thread Robert Cummings
I use a templating framework in which I put all of my HTML. However, when I create components that need to output HTML to render themselves then I use the echo and single quote style also. I find heredoc and breaking in and out of PHP to be extremely messy looking, not to mention horribly maintaina

Re: [PHP] HTML via echo or not

2003-12-29 Thread Jordan S. Jones
Why make PHP work harder than it needs to? Jordan Robin Kopetzky wrote: Good evening. I'm probably going to stir up a hornet's nest but have a question. Does using echo for ALL html pages mean I have a sick mind? Example: echo CR, '', CR, ' ', CR, ' etc...';

RE: [PHP] HTML via echo or not

2003-12-29 Thread Larry Brown
I agree. I think embedding the tags is messy and harder to follow. I do however, treat echo like print. ie echo "The thought would \"have\" to be clear."; I've not use CR,. I'll have to look at that. Thanks -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Monday