test push
This commit is contained in:
父節點
3b0c15e6ca
當前提交
9bbbb5b629
共有 1 個文件被更改,包括 4 次插入 和 4 次删除
|
@ -2,11 +2,11 @@
|
|||
require_once 'classes/dao.php';
|
||||
function get_total_points($team)
|
||||
{
|
||||
$dao = new Dao('');
|
||||
//$dao = new Dao('');
|
||||
$points = 0;
|
||||
foreach ($dao->get_score_team($team) as $row) {
|
||||
$points += $row['points'];
|
||||
}
|
||||
//foreach ($dao->get_score_team($team) as $row) {
|
||||
// $points += $row['points'];
|
||||
//}
|
||||
return $points;
|
||||
}
|
||||
|
||||
|
|
載入中…
Reference in a new issue