mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-29 00:51:52 +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);
|
|
}
|