RE: OPTIMIZING PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx]
Sent: 18 February 2004 11:02
To: php-windows@xxxxxxxxxxxxx
Subject:  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.
**********************************************************************

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux