Error in MySQL when running a command -


i'm getting error when run mysql command:

you have error in sql syntax; check manual corresponds mysql server version right syntax use near ''champions' 'id' = $'id'' @ line 1

how solve error? mean?

three things.

  1. mysql doesn't dangling $ in query. change $'id' '$id'
  2. 'id' literal string 'id', not value of column id, rid of single quotes
  3. assuming champions table, need rid of single quotes around well

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -