fetch_arrr
PDOException Object
(
[message:protected] => SQLSTATE[42000]: Syntax error or access violation: 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 '-6, 6' at line 9
[string:private] =>
[code:protected] => 42000
[file:protected] => /home/httpd/vhosts/sh-teng.com/httpdocs/back/function/class.php
[line:protected] => 62
[trace:private] => Array
(
[0] => Array
(
[file] => /home/httpd/vhosts/sh-teng.com/httpdocs/back/function/class.php
[line] => 62
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
[0] => Array
(
)
)
)
[1] => Array
(
[file] => /home/httpd/vhosts/sh-teng.com/httpdocs/th/news.php
[line] => 170
[function] => fetch_arrr
[class] => Linky_system
[type] => ->
[args] => Array
(
[0] => SELECT * from new
LEFT JOIN t_n_category
on new.n_category=t_n_category.n_category_id
where new.n_is_del=0
and t_n_category.n_category_is_del=0
and n_show=1
and tex_lang = 'th'
and n_category='52'
order by n_sort LIMIT -6, 6
)
)
)
[errorInfo] => Array
(
[0] => 42000
[1] => 1064
[2] => 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 '-6, 6' at line 9
)
)