in reply to Re: Problem converting with FROM_UNIXTIME
in thread Problem converting with FROM_UNIXTIME

If i edit this line
FROM_UNIXTIME(trans_date) AS 'Action_date'
And instead use just the column name
SELECT serial_num, trans_date , actor, type, trans_data, content FROM + transtable
The date values are displayed but in unix format.

Replies are listed 'Best First'.
Re^3: Problem converting with FROM_UNIXTIME
by ibra (Novice) on Jun 23, 2011 at 14:22 UTC
    Sorry guys yep the problem was the lowercase issue. I complete missed this line
    $sth->fetchrow_hashref("NAME_lc")
    Thank you rev_1318 for spotting it