im new to coding PHP...and im having a bit of trouble with this piece of code.
$_POST["user"] = fopen("usernames.txt", "a")
im sure im doing this wrong. its not for any crazy username database, just a small test to see what PHP can do. its just not "appending" the posted variable to this text file.
the usernames.txt file is on the same level as the php file on a sub-domain of my site. im not sure if i need to give any more information.