i want to update my database with new html code
this it the query:
UPDATE `Pages` SET `content`= '<div id="intro">
<div id="about" align="left">
<h2 class="bigHeader" dir="rtl"HEADER</h2>
<img src="img/Med-logo.png" alt="" />
<div id="wellcomePage" class="text-left text" dir="rtl">
<p>...some words....</p>
<p>.some words....</p>
<p> </p>
</div>
</div>
</div>'
but all the time i get an error.
how can i update my database, i don't know what will be inside this html code, is there a function that make all the code like string without special sign?
EDIT::
the problem is with the special char like ' i can't change the html code, is user chice to put it.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…