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 'to-tang-cao-nguy-co-tiem-an-va-giai-phap-hieu-qua-tu-auto-huy-phong from table_p' at line 1syntax error: select thumb_khi-thai-o-to-tang-cao-nguy-co-tiem-an-va-giai-phap-hieu-qua-tu-auto-huy-phong from table_photo where type='favicon'