I’m trying to insert html tag into a db field but I keep getting this error?
Error: (1064) 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 ‘from) VALUES (’<p>‘)’ at line 1
from is a reserved word. If you’re using it for a field name… #1 i’d recommend not (because of the aforementioned problem), but if you absolutely must use from, put backticks (`) around the field name in the query.