On Tue, Feb 06, 2007 at 06:39:47PM -0500, Adrian Noland wrote: > $content = "this is the start of a bunch of lines"; > $content .= "another line"; > $content .= "yet another"; > echo $content;
If you're just echoing somehting out there is no point in wasting resources/time/etc putting it in a variable. > echo "this is the start of a bunch of lines"; > echo "another line"; > echo "yet another"; Everyone here is ignoring the fact that you can concatenate output: echo 'this is the start of a bunch of lines' . 'another line' . 'yet another'; Or use the here doc mentioned before: echo <<<THE_END this is the start of a bunch of lines another line yet another THE_END; --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php