Error: update kk_tblMetadata set hits=hits+1 where tid= and lid=(select lid from kk_tbllanguage where lcode='eng')
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 'and lid=(select lid from kk_tbllanguage where lcode='eng')' at line 1update kk_tblMetadata set hits=hits+1 where tid= and lid=(select lid from kk_tbllanguage where lcode='eng')