$format = "SELECT data FROM sessions WHERE sid = '%s' LIMIT 1";
$this->tosql = sprintf($format, $sid);
用sprintf实现sql参数绑定
最新推荐文章于 2023-08-16 08:35:14 发布
$format = "SELECT data FROM sessions WHERE sid = '%s' LIMIT 1";
$this->tosql = sprintf($format, $sid);