Re: How to get "executed php result" in variable
| From: | Chris Hayes | Date: | Mon, 14 Jul 2003 09:44:25 +0000 |
| Subject: | Re: How to get "executed php result" in variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155056@lists.php.net to get a copy of this message | ||
At 11:31 14-7-03, you wrote:
Dear All, I need to get results like this............. <? $result = get_executed_php_file_contents.php ?> I use:
ob_start();
include('modules/file.php');
$result=ob_get_contents();
ob_end_clean();