Templating
| From: | Trent Gillespie | Date: | Tue, 05 Feb 2002 02:20:39 +0000 |
| Subject: | Templating | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83507@lists.php.net to get a copy of this message | ||
I have a template file that I would like to add the content to no write over it. I want the string
$content to be added to my template instead of writing over it. Here is my current script
$tutorial = "template.php";
$fp = fopen("$tutorial","w");
fputs($fp, $content, strlen($content));
If you need any other info please just ask. And if you dont get my question aske again.