ה SQL שכתבת בכלל לא תקין..
לא ככה כותבים שאילתת הזנת נתונים.
PHP קוד:
<?
$user = $_POST['user']
$pass = $_POST['pass']
// ---------- connection to the DB and WORK with it from now ----------
include 'db.php'
mysql_query(" INSERT INTO login (username file,password file) VALUES('','$user','$pass')");
mysql_close();
?>
כמובן שתשנה אותם לשמות שדות שלך.