[PHP] Command failed for target

2002-04-04 Thread Warren Daly
: 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. mailto:[EMAIL PROTECTED] Web: http://www.heanet.ie

RE: [PHP] time to seconds

2002-09-18 Thread Warren Daly
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 unix