1
i made a simple module
i follow standard XOOPS that
in db date is saved as :
date int(10) NOT NULL default '0', in database it is saved example like this 1267885629
how do i retrieve the date in my page so it look like this
2010/3/1 14:44:58
i tried
$date=$row['date'];
$showdate= $date ? formatTimestamp($date) : '';
echo "$showdate";
and it display like this
1970/1/1 7:30:00
what did i do wrong...newbie php