コード例 #1
0
ファイル: article.php プロジェクト: adacs897642/news
function Article_getOnce($id)
{
    $newDB = new myDB('news');
    $query = "SELECT title, annotation, time, text FROM article WHERE id={$id}";
    return $newDB->select($query);
}