date (2 replies)
(MySQL.com) little help pls.
i have :
$ot = $row['onlinetime'];
$hours = floor($ot/3600);
$min = floor(($ot - $hours*3600)/60);
$sec = $ot - $hours*3600 - $min*60;
$days = floor($hours/24);
out:
1 Adidas 1 days, 41 hours, 42 minutes, 14 sec
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268]
updated 1268 (MySQL User Forums), inserted 30, updated 0, at 2012-06-02 00:13:05