One of the fields in my database is of ‘DATE’ Type (field-name = ‘post_date’).
after fetching an array
$record = mysql_fetch_array($queryResult);
if I do
echo $record['post_date'];
I do not get any output (blank).
What should I do to properly handle the date type?
If you get a blank output from doing that (and your query is non-broken), the problem is that the column value is NULL, not that there’s anything wrong with the PHP interaction.