hi...
i have a problem...
lets say that there is a DB(table) with ID & DATE(INT)
in about 3 month i'm tring to put in the table this kind of date d/m/y.
but no mattet what i will do, it goes wrong, this supouse 2 b a simple kind of problem.
if i do this:
<?
$date=date('d/m/y');
/(DB SELECTION)/
mysql_query("INSERT into date values('$id','$date')")or die(mysql_error());
$query=mysql_query("select * from date");
while($row=mysql_fetch_array($query))
{
echo $row['date']."<br>";
}
?>
the result is : 00:00:28
i tried to change the type to timestamp,date...
nothing happaned...
can u help me?
thanks