MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT a.*, c.region_name AS country_name, p.region_name AS province_name, ct.region_name AS city_name, d
.region_name AS district_name FROM `dainifa`.`ecs_user_address` as a LEFT JOIN `dainifa`.`ecs_region` AS c ON c.region_id = a.country LEFT JOIN `dainifa`.`ecs_region` AS p ON p.region_id = a.province LEFT JOIN `dainifa`.`ecs_region` AS ct ON ct.region_id = a.city LEFT JOIN `dainifa`.`ecs_region` AS d ON d.region_id = a.district WHERE address_id=
)
[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 '' at line 2
)
[3] => Array
(
[errno] => 1064
)
)