HTML and PHP output to PHP variable

From: Date: Mon, 12 Jul 2004 09:01:13 +0000
Subject: HTML and PHP output to PHP variable
Groups: php.general 
Request: Send a blank email to php-general+get-190227@lists.php.net to get a copy of this message
Hi! Let's say my index.php consists of the following: <? include("header.inc"); echo "<p>PHP says Hello World</p>"; ?> <p>HTML says Hello World</p> <? //.. some other php code that generates output... ?> ..some other HMTL output.. My question is: how can I make the whole index.php generated output put in one PHP variable? It is also important that it is done from the same index.php file. Thanks, Maris

« previous php.general (#190227) next »