I try to make a homepage and people can signup become members, before i decide to use PHP to store the username and password in a TEXT file, and i can verifly the user in the file, but is it better to use MYSQL to store the username and password in a mysql table? and verifly from the table... which way is better. use TEXT file or a mysql table?
Both methods work, but using a database is always easier, especially if you get many people of you want to do more complex things with the data.
Flatfiles have their use, and data-storage is not one of them.