ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/trunk/webapp/lib/db/rank.php @ 1265

Last change on this file since 1265 was 1265, checked in by takanashi, 16 years ago

PNEPoint確認用

File size: 251 bytes
Line 
1<?php
2
3//ポイントからランクを取得
4function db_point_get_rank4point($point)
5{
6    $sql = "SELECT * FROM c_rank WHERE point <= ? ORDER BY point DESC";
7    $params = array(intval($point));
8    return db_get_row($sql, $params);
9}
10
11?>
Note: See TracBrowser for help on using the repository browser.