There is a date column in database table in the format as "2010-05-12 15:35:08". I am trying to fetch this field using:
It does not work.
Code:
while($res = mysql_fetch_array($sql)) { $data = $res['LoginDate']; }
Comment