日期:2014-05-17 浏览次数:20422 次
$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'],
);