时间:2021-07-01 10:21:17 帮助过:16人阅读
$sql = "SELECT * FROM `shops` WHERE `id` > '100' limit 1 order by id asc";
$s = $db->getLine($sql);
$shop = array(
'body' => $s['body'],
);
$sql = "SELECT * FROM `shops` WHERE `id` = '101'";
$s = $db->getLine($sql);
$shop = array(
'body' => $s['body'],
);
$sql = "SELECT * FROM `shops` WHERE `id` > '100' limit 1 order by id ASC limit 1";
$s = $db->getLine($sql);
$shop = array(
'body' => $s['body'],
);