php - Mysql query throw the 1054 unknown column error? -



php - Mysql query throw the 1054 unknown column error? -

my mysql query throw 1054 unknown column interleaving.pdf?

select user_id,doc_id,name `get_edoc_details` user_id=290 , doc_id=1 , name=interleaving.pdf;

you'll need enclose value of field in quotes string.

select user_id,doc_id,name `get_edoc_details` user_id=290 , doc_id=1 , name='interleaving.pdf';

php mysql sql

Comments

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -