newkom DB dbs- querySingle SELECT count id FROM magazin_komm WHERE tim

1
2
$newkom = DB::$dbs->querySingle("SELECT count(id) FROM `magazin_komm` WHERE `time` > ?", [time()-86400]);
$nkom = ($newkom > 0 ? '<font color="red"><b>+'.$newkom.'</b></font>':NULL);