Every time I create a text database, and submit information to it, it over-writes the previous information in that file. How do I get PHP to stop re-writing the database, and just store everything? HELP!!!
Sounds like you are opening the file for writing instead of 'appending'
try opening the file with 'a' Check the manual for fopen().
I think this is what you are looking for. You have this: $fd = fopen ($filename, "w");
and you need this: $fd = fopen ($filename, "r");
Hope that helps.
r is for reading, not writing.