MYSQL ERROR
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 del = 0 ORDER BY `main` DESC, `address_id` ASC' at line 1
Query:SELECT `address_id`,`address_name`,`main` FROM `fl_accounts_address` WHERE `account_id` = AND del = 0 ORDER BY `main` DESC, `address_id` ASC
Function:getAll
Class:rlDb
File:/home/pianoteca/www/includes/classes/rlAccountAddress.class.php (line# 251)