array(5) {
[0]=>
array(6) {
["file"]=>
string(47) "/data/web/hjresearch.com/inc/class/db.class.php"
["line"]=>
int(40)
["function"]=>
string(8) "halt_msg"
["class"]=>
string(2) "db"
["type"]=>
string(2) "::"
["args"]=>
array(1) {
[0]=>
&string(163) "SQL语句出错:select AttrId, Name_en,Type from products_attribute where 1 and ParentId='172' and CartAttr='0' order by (MyOrder = 0) ASC, MyOrder ASCAttrId asc"
}
}
[1]=>
array(6) {
["file"]=>
string(47) "/data/web/hjresearch.com/inc/class/db.class.php"
["line"]=>
int(47)
["function"]=>
string(5) "query"
["class"]=>
string(2) "db"
["type"]=>
string(2) "::"
["args"]=>
array(1) {
[0]=>
&string(145) "select AttrId, Name_en,Type from products_attribute where 1 and ParentId='172' and CartAttr='0' order by (MyOrder = 0) ASC, MyOrder ASCAttrId asc"
}
}
[2]=>
array(6) {
["file"]=>
string(59) "/data/web/hjresearch.com/static/themes/default/products.php"
["line"]=>
int(10)
["function"]=>
string(7) "get_all"
["class"]=>
string(2) "db"
["type"]=>
string(2) "::"
["args"]=>
array(4) {
[0]=>
&string(18) "products_attribute"
[1]=>
&string(37) "1 and ParentId='172' and CartAttr='0'"
[2]=>
&string(20) "AttrId, Name_en,Type"
[3]=>
&string(40) "(MyOrder = 0) ASC, MyOrder ASCAttrId asc"
}
}
[3]=>
array(4) {
["file"]=>
string(51) "/data/web/hjresearch.com/static/static/inc/init.php"
["line"]=>
int(226)
["args"]=>
array(1) {
[0]=>
string(59) "/data/web/hjresearch.com/static/themes/default/products.php"
}
["function"]=>
string(7) "include"
}
[4]=>
array(4) {
["file"]=>
string(34) "/data/web/hjresearch.com/index.php"
["line"]=>
int(7)
["args"]=>
array(1) {
[0]=>
string(51) "/data/web/hjresearch.com/static/static/inc/init.php"
}
["function"]=>
string(7) "include"
}
}
SQL语句出错:select AttrId, Name_en,Type from products_attribute where 1 and ParentId='172' and CartAttr='0' order by (MyOrder = 0) ASC, MyOrder ASCAttrId asc
错误代码:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASCAttrId asc' at line 1