MySQL syntax error

When I try to send to MySQL a srting whith a @ it says me:

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 2

What code are you using that it inserts email into the database?

1 Like

Are you properly escaping the input value or using prepared statements? If not, you may just be exploiting an SQL Injection Attack vulnerability in your website by accident.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.