<?php
$host = "localhost";
$user = "ericsmi_admin";
$password = "password";
$database = "ericsmi_Users";
mysql_connect($host, $user, $password) or die(mysql_error("DIED"));
mysql_select_db($database) or die("Error: Could not connect to database");
$query = INSERT INTO Users(user, date_registered, password, email) VALUES ("eric", "12/12/12, test,
[email protected]");
mysql_query($query) or die("Error: data not inserted");
echo("Data inserted");?>
Nothing happens, nothing is printed, not no error message.