function Article_getOnce($id) { $newDB = new myDB('news'); $query = "SELECT title, annotation, time, text FROM article WHERE id={$id}"; return $newDB->select($query); }