mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 12:58:40 +00:00
10 lines
229 B
PHP
10 lines
229 B
PHP
<?php
|
|
|
|
function queryProblemBrief($id) {
|
|
return DB::selectFirst("select * from problems where id = $id", MYSQLI_ASSOC);
|
|
}
|
|
|
|
function queryBlog($id) {
|
|
return DB::selectFirst("select * from blogs where id='$id'", MYSQLI_ASSOC);
|
|
}
|