question about <<<EOF
- From: ad@xxxxxxxx ("LKSunny")
- Date: Tue, 30 Sep 2008 12:48:35 +0800
Hello,
i want on inner EOF do something, calculate and call function ? can not ? if
yes, how to ?
<?
echo <<<EOF
some text....
can i calculate on inner EOF ? 10*100 display 1000 ?
can i add function on inner EOF ? date('Y') display 2008 ?
any more text.
EOF;
//i want output is
/*
some text....
can i calculate on inner EOF ? 1000 display 1000 ?
can i add function on inner EOF ? 2008 display 2008 ?
any more text.
*/
?>
Thank You.
.
- Follow-Ups:
- Re: [PHP] question about <<<EOF
- From: tedd
- Re: question about <<<EOF
- From: Ross McKay
- Re: [PHP] question about <<<EOF
- From: Jochem Maas
- Re: [PHP] question about <<<EOF
- Prev by Date: Re: [PHP] How to submit form via PHP
- Next by Date: Re: [PHP] question about <<<EOF
- Previous by thread: Time Loop
- Next by thread: Re: [PHP] question about <<<EOF
- Index(es):