Hello, I'm trying to insert registration data into a database but my php code isn't inserting the values into the DB although I'm not getting any errors either, can someone help me? this is the code i'm currently using:
$connect = mysql_connect("localhost","myusername","mypassword");
mysql_select_db("application");
$queryreg = mysql_query('INSERT INTO users("username","password","email","date") VALUES("$username","$password","$email","$date")');
die ("You Have Been Registered.");
I just need to add the username password email and date into the fields i have specified but it won't work, please someone help!