[PHP] Echo HTML code Verses breaking out of

2003-11-21 Thread Joe Harman
Hello, I would like some opinions, or hopefully facts on a few things... Maybe some people can help me out here. A friend of mine and I were discussing which is best way to use PHP building dynamic pages, here are the 2 methods we are comparing.. They are in the simplest terms here... But try to

Re: [PHP] echo " HTML code ";

2002-01-31 Thread André Felix Miertschink
Personal, I think I expressed myself wrong, because it is like this that I use, but the one that I want to know, if the echo" HTML code " it is much slower than if I put the HTML code out of the PHP block. Can these several echo's harm the processing of the server? Can that turn slow the vis

Re: [PHP] echo " HTML code ";

2002-01-31 Thread val petruchek
> ok.. well an echo goes > echo "what u want to echo"; > so u would do it this way > > echo "html code.. making sure u dont use a " in any of ur html code"; > php stuff > echo "$phpvariable & more html code.. if u want to use a " use a ' > instead."; > more php stuff. > If u want to use " use \"

Re: [PHP] echo " HTML code ";

2002-01-31 Thread Shooter
hp stuff. Neil - Original Message - From: André Felix Miertschink <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 12:04 AM Subject: [PHP] echo " HTML code "; > I have a PHP file that I show values of variables in several parts, and fo

[PHP] echo " HTML code ";

2002-01-31 Thread André Felix Miertschink
I have a PHP file that I show values of variables in several parts, and for that I put in almost the whole page echo"... HTML code + PHP codes (variables, functions, etc.) + HTML code... "; I don't know nor why I put, I think it went to not to be finishing and beginning PHP parts as: HTML