I have a update query
Eg: 'update table1 set text="Sample text'"'
How to include apostrophe(') in the query without running into Parse error 1064
Asked
Active
Viewed 803 times
-4

Divya
- 107
- 1
- 1
- 7
-
Doubling up the single quote is usually the way to do it, e.g. `update table1 set text = 'Sample text''';` – Tim Biegeleisen Nov 06 '17 at 08:53