Re: [PHP] question about file_put_contents

2004-08-12 Thread Curt Zirzow
* Thus wrote Corey Hitchcock: > Hi, I'm relatively new with php but I have a question about this 'new' > function. If I use file_put_contents("file.txt", "whatever") then it, of > course, writes "whatever" in the "file.txt". If I later do the same thing > but put a different word (say "other") from

[PHP] question about file_put_contents

2004-08-12 Thread Corey Hitchcock
Hi, I'm relatively new with php but I have a question about this 'new' function. If I use file_put_contents("file.txt", "whatever") then it, of course, writes "whatever" in the "file.txt". If I later do the same thing but put a different word (say "other") from "whatever" then it overwrites that en