我正在尝试为我的站点上的服务器创建一个过滤函数。用户可以为他们想要过滤的类别检查不同的选项,我有一个ajax请求,它返回满足他们条件的服务器。但是,我的mysql_query不工作,我想我可能有错误的语法。$order = "SELECT * FROM `servers`
WHERE `size` = '$size' o
public function Read($Table, $Fields, $Condition, $Orderby, $Limit) { $Query .= " WHERE " . $Condition; if ($Orderby !$Orderby; if ($Limit != null) {
$Q
我在MySQL中有这个SQL请求。当我写的时候 ->OrderBy('FIELD (`position`, 4, 3access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your <em