if your data is in UNIX TIMESTAMP format:
$result = mysql_query("select * from table1;",$db);
while ($row = mysql_fetch_array($result)){
// convert seconds from epoch into human date //
$data[] = date("Hi",mktime(0,0,$row['duration'],1,1,1970));
}
so I guess using mktime to convert DATE into uni
ome/root/php-4.1.2/sapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Warren Daly HEAnet Ltd.
Network Engineer Brooklawn House,
Tel:+353-1-660 9040 Crampton Avenue,
Fax:+353-1-660 3666 Shelbourne Rd,Dublin 4.
m
2 matches
Mail list logo