-4

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

Divya
  • 107
  • 1
  • 1
  • 7

1 Answers1

1

you have to escape the special characters with a back slash "\"

\'