#1054 - Unknown column in 'field list' Is minus sign a special character in MySQL? -


trying insert data:

insert `ps_product_check`(`id_product`, `name`, `catalog`)      values  (30767,'ct39-235126','79926330') 

the error

 #1054 - unknown column 'ct39' in 'field list'  

why think ct39 supposed column when (a part) of value? how around error?

i run query , works fine.

insert `ps_product_check`(`id_product`, `name`, `catalog`)      values  (30767,'ct39-235126','79926330') 

it possible have placed other quotes (backticks) in query executed.

if change quotes like

insert `ps_product_check`(`id_product`, `name`, `catalog`)      values  (30767,`ct39-235126`,'79926330') 

i same error.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -