0

我有这个 ID 抓取脚本,它使用代理来抓取 id,我在弄清楚如何编辑这个脚本时遇到了一些麻烦,我已经有了它,所以它只导出 id 的“rare = 1”但是怎么做我对其进行了编辑,因此它不会导出“已售出 = 1”的 ID,这样它只会导出尚未售出的 ID。

$ids = $sql->select('*', '`ids` where rare = 1 (i dont want it to export values where sold = 1) ORDER BY `UserId` ASC', NULL, NULL, NULL, true, true);
4

1 回答 1

0

只需<>为已出售添加(不等于)子句。

$ids = $sql->select('*', '`ids` where rare = 1 AND sold <> 1 ) ORDER BY `UserId` ASC', NULL, NULL, NULL, true, true);
于 2013-05-29T11:04:27.320 回答