public function updateScore($fScore, $iId, $sTable) { $sTable = Various::checkTable($sTable); $sWhere = Various::convertTableToId($sTable); $rStmt = Db::getInstance()->prepare('UPDATE' . Db::prefix($sTable) . 'SET score = :score WHERE ' . $sWhere . ' = :id'); $rStmt->bindValue(':score', $fScore); $rStmt->bindValue(':id', $iId); return $rStmt->execute(); }