Invalid query: select id,topics,target_date,schedule_id,detail from topics_tbl where id=info@highvoltage.tokyo and status=1 ORDER BY id desc 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 '@highvoltage.tokyo and status=1 ORDER BY id desc' at line 1