On Sunday 17 March 2002 12:53, Ben Waldher wrote:
> I'm having some trouble writing data to a file, when I use this code it
> works fine:
>
> $file = fopen("template.txt", "w");
>
> fwrite ($file, $temp);
>
> fclose ($file);
>
> ?>
>
> But several problems with this occur:
>
>
> $stuff = include
I'm having some trouble writing data to a file, when I use this code it
works fine:
But several problems with this occur:
First of all, it tries to open template.txt1 instead of template.txt.
Second of all, some letters written to news.txt become a 1 for some odd
reason. I don't know why.
I
2 matches
Mail list logo