MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT * from `dmc071719_db`.`ecs_goods` a, `dmc071719_db`.`ecs_category` b where b.parent_id = and a.is_hot = 1 and a.cat_id = b.cat_id limit 5
)
[2] => Array
(
[error] => 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 'and a.is_hot = 1 and a.cat_id = b.cat_id limit 5' at line 1
)
[3] => Array
(
[errno] => 1064
)
)