View Single Post
  #7 (permalink)  
Old 08-08-2007, 08:22 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default Re: Site Performance - Tips & Tricks

Hi folks,
The following will be used to increase the performance of the site.

we usually concat a string with the following:-
<?php
echo '<option>'.$variable.'</option>';
?>

But a better way is to use commas to output the string rather than the previous used. Because PHP only has to output it instead of using concatenation.

<?php
echo '<option>',$variable,'</option>';
?>
__________________

J.Vijayanand
Reply With Quote