Hey guys sorry if this is a really noobie question but i tried everything and i cant see why it wont work, I have a form that would send the information to another page that in theory puts the data into the database however it does nothing, it wont even give me an error, this is what i have on the page.
include("config.php");
$db_link = mysql_connect($db_server, $db_uname, $db_pass);
mysql_select_db($db_name, $db_link);
if (isset($_POST['user']))
{
$user = $_POST['user'];
$date = $_POST['date'];
$time = $_POST['time'];
$device = $_POST['device'];
$info = $_POST['info'];
mysql_query ("INSERT INTO `alanz`.`logs` (`id`, `user`, `date`, `time`, `device`, `info`) VALUES (NULL, '".$user."', '".$date."', '".$time."', '".$device."', '".$info."');", $db_link);
}
any idea why it wont do anything?
thanks