Re: [PHP4BETA] Output to string
| From: | Joey | Date: | Wed, 05 Jan 2000 22:00:19 +0000 |
| Subject: | Re: [PHP4BETA] Output to string | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8937@lists.php.net to get a copy of this message | ||
Real answer: RTFM. (
Short answer:
<?
function one()
{
/* do stuff */
return $string;
}
$string = one();
?>
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!
On Wed, 5 Jan 2000, Vadim Tkachenko wrote:
> Hi.
> Please help me.
>
> I have function
>
> <?
> function one(){
> ?>
> <table><tr><td>
> ....
> </td></tr></table>
> <?}
> ?>
>
> Can I put output from one() to string, and using this string later in my programm?
>
> Vadim Tkachenko.
>
>
>
>
>