I'm almost done making my registration system on my home server.
Thanks to everyone for your help.
The last thing I would like to know is why it says: Error: User not added to database.
This is part of my register code:
// Fields are clear, add user to database
// Setup query
$q = "INSERT INTO `dbusers` (`username`,`password`,`email`) "
."VALUES ('".$_POST["username"]."', "
."PASSWORD('".$_POST["password"]."'), "
."'".$_POST["email"]."')";
My database is made and named like in dbconfig.php
$db = "mysqladmin";
My table is dbusers but the columns/rows are made manually...
What could be the problem?