RE: [PHP-WIN] OPTIMIZING PHP
| From: | David Felton | Date: | Wed, 18 Feb 2004 15:57:39 +0000 |
| Subject: | RE: [PHP-WIN] OPTIMIZING PHP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22888@lists.php.net to get a copy of this message | ||
The first option is faster, although this might be a slight improvement to
make it more readable:
<p><strong>Localizzazione :</strong><span>
<?=$localizzazione?></span></p>
<p><strong>Coordinate Geografiche :</strong><span>
<?=$coordinate_geografiche?></span></p>
<p><strong>Continente :</strong><span>
<?=$area?></span></p>
<p><strong>Confini :</strong><span>
<?=$confini?></span></p>
- you'll need to have short_quotes enabled to be able to do this.
-----Original Message-----
From: zanzamarr [mailto:zanzamarr@yahoo.com.au]
Sent: 18 February 2004 11:02
To: php-windows@lists.php.net
Subject: [PHP-WIN] OPTIMIZING PHP
Hello everyone.... what's better for my machine????
Is it better to do so:
----------------------------------------------------------------------------
--------------------------------------------
<p><strong>Localizzazione :</strong><span> <?Php echo $localizzazione;
?></span></p>
<p><strong>Coordinate Geografiche :</strong><span> <?Php echo
$coordinate_geografiche; ?></span></p>
<p><strong>Continente :</strong><span> <?Php echo $area;
?></span></p>
<p><strong>Confini :</strong><span> <?Php echo $confini;
?></span></p>
----------------------------------------------------------------------------
----------------------------------
or put everything in a variabile like $text = "<p><strong>Localizzazione
:</strong><span> <?Php echo $localizzazione; ?></span></p> ....";
and then echo $text;
????????????
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************