= $points) { // Update points when there are enougth points in jackpot sqlQueryEscaped("UPDATE `{?_MYSQL_PREFIX?}_jackpot` SET `points`=`points`-%s WHERE `ok`='ok' LIMIT 1", array($points), __FUNCTION__, __LINE__); $ret = (!ifSqlHasZeroAffectedRows()); } // END - if // Free memory sqlFreeResult($result); // Return the result return $ret; } // [EOF] ?>