When writing to a file several problems occur with this code:
?php
$stuff = include (news.txt);
$file = fopen (news.txt, w);
$newnews = include (template.txt) . $stuff;
fwrite ($file, $newnews);
?
However, this code works:
?php
$file = fopen(template.txt, w);
fwrite ($file, $temp);
fclose
On Monday 18 March 2002 00:46, Ben Waldher wrote:
When writing to a file several problems occur with this code:
?php
$stuff = include (news.txt);
$file = fopen (news.txt, w);
$newnews = include (template.txt) . $stuff;
fwrite ($file, $newnews);
?
However, this code works:
?php
$file
2 matches
Mail list logo