

| 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 ')) ORDER BY phone.PhoneType' at line 11 => SELECT phone.PhoneType,phone.ProviderIDs, brand.BrandType , phoneabo.LowestPrice, phoneabo.AboID , phoneabo.PhoneID , phoneabo.phoneaboID , brand.BrandID FROM (phone LEFT JOIN phoneabo ON phone.PhoneID = phoneabo.PhoneID) LEFT JOIN brand ON phone.BrandID = brand.BrandID WHERE (phone.Enable = 1) AND (phoneabo.objectID = 0) AND (brand.Enable = 1) AND (phone.soon = 0) AND (brand.BrandID in (1,5,2,14,3,13,24)) AND (phoneabo.AboID in ()) ORDER BY phone.PhoneType; |