0

And the error im getting is

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 'key = (tick)TESTKEY(tick)'

SELECT * FROM keys WHERE key = 'TESTKEY';

I tried this site but it isn't much help. http://www.piliapp.com/mysql-syntax-check/ As well as with ticks and apostrophe.

1 Answers1

2

This SQL passes the syntax check at the link you provided:

SELECT * FROM `keys` WHERE `key` = 'TESTKEY';
infused
  • 24,000
  • 13
  • 68
  • 78