object(mysqli)#13 (18) {
["affected_rows"]=>
int(-1)
["client_info"]=>
string(14) "mysqlnd 8.0.23"
["client_version"]=>
int(80023)
["connect_errno"]=>
int(0)
["connect_error"]=>
NULL
["errno"]=>
int(1064)
["error"]=>
string(190) "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 'where disabled = 0 ORDER BY id desc LIMIT 2' at line 1"
["error_list"]=>
array(1) {
[0]=>
array(3) {
["errno"]=>
int(1064)
["sqlstate"]=>
string(5) "42000"
["error"]=>
string(190) "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 'where disabled = 0 ORDER BY id desc LIMIT 2' at line 1"
}
}
["field_count"]=>
int(10)
["host_info"]=>
string(25) "Localhost via UNIX socket"
["info"]=>
NULL
["insert_id"]=>
int(0)
["server_info"]=>
string(6) "8.0.30"
["server_version"]=>
int(80030)
["sqlstate"]=>
string(5) "42000"
["protocol_version"]=>
int(10)
["thread_id"]=>
int(9868592)
["warning_count"]=>
int(0)
}
object(mysqli)#13 (18) {
["affected_rows"]=>
int(-1)
["client_info"]=>
string(14) "mysqlnd 8.0.23"
["client_version"]=>
int(80023)
["connect_errno"]=>
int(0)
["connect_error"]=>
NULL
["errno"]=>
int(1064)
["error"]=>
string(190) "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 'where disabled = 0 ORDER BY id desc LIMIT 2' at line 1"
["error_list"]=>
array(1) {
[0]=>
array(3) {
["errno"]=>
int(1064)
["sqlstate"]=>
string(5) "42000"
["error"]=>
string(190) "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 'where disabled = 0 ORDER BY id desc LIMIT 2' at line 1"
}
}
["field_count"]=>
int(10)
["host_info"]=>
string(25) "Localhost via UNIX socket"
["info"]=>
NULL
["insert_id"]=>
int(0)
["server_info"]=>
string(6) "8.0.30"
["server_version"]=>
int(80030)
["sqlstate"]=>
string(5) "42000"
["protocol_version"]=>
int(10)
["thread_id"]=>
int(9868592)
["warning_count"]=>
int(0)
}
MySQL Query : SELECT * FROM v9_special where disabled = 0 where disabled = 0 ORDER BY id desc LIMIT 2 MySQL Error : MySQL Errno : 1064 Message : 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 'where disabled = 0 ORDER BY id desc LIMIT 2' at line 1 Need Help?