Michael B
12-27-2006, 12:25 PM
I would like to know if echoing text as it is created, or adding it to a variable then echoing it at the end of the script is more efficient?
Also I notice that when adding text to a var or echoing it, ' and " and different.
$text='Some Text';
echo("$text");
echos Some Text. but
$text='Some Text';
echo('$text');
echos $text
Does that make ' more efficient than " ?
Also I notice that when adding text to a var or echoing it, ' and " and different.
$text='Some Text';
echo("$text");
echos Some Text. but
$text='Some Text';
echo('$text');
echos $text
Does that make ' more efficient than " ?