The date in my table in mysql database is : enddate = 2004-11-16 but when I try to display this field using php, I had : 2004-11-162
the php code is :
$requet = mysql_query("SELECT stardate, enddate FROM reservation where chambreID LIKE '%$chambre%'") or die(mysql_error());
list($stardate,$enddate) = mysql_fetch_row($requet);
echo $enddate;
Thanks in advance.
M.N