Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql reserved words on queries #78

Closed
axew3 opened this issue Sep 1, 2015 · 1 comment
Closed

mysql reserved words on queries #78

axew3 opened this issue Sep 1, 2015 · 1 comment

Comments

@axew3
Copy link

axew3 commented Sep 1, 2015

Hello all,
$db->query("INSERT INTO cont (id, fulltext)
as fulltext is a reserved mysql word, ezSQL return SQL error

@axew3
Copy link
Author

axew3 commented Sep 3, 2015

sorry, i was sure it wasn't working, instead escaping with backtick any mysql reserved word the query is correctly executed.... so sorry, and thank
ex:
$db->query("INSERT INTO cont (id, fulltext) VALUES ...

@fawaf fawaf closed this as completed Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants