the code below is met to insert the variable u_date to my table and echo it but when ever i echo the date from the table i select it, it's not also correct ever when my system date is correct and secondly i want the date should look like this 10-June-2010 not like this 10-6-2010.
Code:
$name= ($_POST['name']);
$u_date = date ('h.m.Y');
mysql_query("INSERT INTO user
(name, u_date) VALUES('" . $name . "', '" . $u_date. "')
i select the date from user and echo but the date is not correct
Comment