i do not understant why this will not work, it will go thru all the echo "passed" marks, but will not write to the mysql database, please someone help.
$query = "insert into auth values
('".$username."', '".$pass."')";
__________
try:
$query = "INSERT INTO auth(username, pass) VALUES('$username','$pass')";
it's a good habit to capitalize sql statements. your table will grow, you'll have more variables, field names, etc.
it's not necessary, but easier to read.
put vars in single quotes. even if you have only two columns (username and pass), it's a good habit to declare which is which.
if you have also an auto-increment-id field, it's safer anyway. don't let mysql guess where it has to insert what.
Bookmarks