mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 13:38:42 +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);
|
|
}
|