db query() error : SELECT jobs.*, A.full_name, A.avatar, B.full_name AS holder_full_name,B.email as holder_email, B.avatar AS holder_avatar, cities.title_en AS city, countries.title_en AS country_title, industries.title_en AS industry, admins.mobile as holder_mobile FROM jobs INNER JOIN accounts A ON A.id = jobs.employer_id LEFT JOIN cities ON cities.id = jobs.city_id LEFT JOIN countries ON countries.code = jobs.country LEFT JOIN industries ON industries.id = jobs.industry_id LEFT JOIN accounts B ON B.id = jobs.holder_id LEFT JOIN admins ON admins.id = jobs.holder_id LEFT JOIN employers ON employers.id = jobs.employer_id WHERE jobs.id =
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 12