Re: echo " HTML code ";

From: Date: Wed, 30 Jan 2002 13:28:41 +0000
Subject: Re: echo " HTML code ";
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82921@lists.php.net to get a copy of this message
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 <br> & more html code.. if u want to use a " use a ' instead."; more php stuff. Neil ----- Original Message ----- From: André Felix Miertschink <a.f.miertschink@terra.com.br> To: <php-general@lists.php.net> 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 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: > > <?php echo"$variable"; PHP functions; etc.?> HTML code <?php > echo"$variable"; PHP functions; etc.?> HTML code <?php > echo"$variável"; PHP > functions; etc.?> HTML code > > Can these several echo's harm the processing of the server? Can that turn > slow the visualization of the page? Should I remove the maximum possible of > echo"... HTML Code ... "; or can I leave how it is? > > > André > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#82921) next »