Jump to content

1064 error help, please


kigogu

Recommended Posts

For some reason i'm getting: 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 '

Here is the query that i'm running:

'INSERT INTO template_information (html, css, div_tag) VALUES( "' . $html . '", "' . $css . '", "' . $div_tags . '" )'

 

It worked fine till I added 'div_tag', but as far as I can see I added it to the query correctly so I don't know why its giving me this error.

Link to comment
https://forums.phpfreaks.com/topic/264572-1064-error-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.