Can someone help me entering a date "manually" in MySQL thanks :) here's my code it's currently entering 0000-00-00 in my databse
THE HTML
<html>
<head>
<title>..</title>
<body>
<form action="work1.php" method="post">
Value1: <input type="text" name="date"><br>
<input type="Submit">
</form>
</body>
</head>
</html>
PHP
<?php
$username="root";
$password="";
$database="wapwap";
$date=$_POST['Value1'];
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die("Unable to select database");
$query = "INSERT INTO date VALUES
('','$date')";
mysql_query($query);
mysql_close();
?>
NEW to PHP :)