RE: [PHP] Re-engineering print()
| From: | Jason Murray | Date: | Thu, 11 Jan 2001 04:38:01 +0000 |
| Subject: | RE: [PHP] Re-engineering print() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33895@lists.php.net to get a copy of this message | ||
> #Option 1: code I wish worked
> $s = include("phpcode.php");
>
> #Option 2: also code I wish worked
> $s = sprintf("%s", include('template.php'));
$s = sprintf("%s", implode("\n", file('template.php')));
:)
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Design Team, Melbourne IT
Fetch the comfy chair!