Re: How to get "executed php result" in variable
| From: | Ryan Gibson | Date: | Mon, 14 Jul 2003 09:47:07 +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-155057@lists.php.net to get a copy of this message | ||
Hi,
Put a return statement at the end of file
'get_executed_php_file_contents.php' that returns the value you need, then
use:
<?
$result = include("get_executed_php_file_contents.php");
?>
On 14/7/03 10:31 am, "Tariq Murtaza" <tariq@smeda.org.pk> wrote:
> Dear All,
>
> I need to get results like this.............
>
> <?
> $result = get_executed_php_file_contents.php
> ?>
>
> Looking for some solutions............
> TM
>
Ryan Gibson
-----------
ryan_gibson@jmp-partnerhip.co.uk