I want to insert single quotes with the data in which I am trying to insert it in a mysql table Example id column 1 data='rose'
data='rose' should be saved under column My Actual query is UPDATE test SET ItemType ='doctype="\'text'\"'WHERE ITEMINDEX='221'