Answer the question
In order to leave comments, you need to log in
Apostrophes in the text interfere with sql, what should I do?
The code in the base is:
<img alt='подпись' title='подпись' border="0" src="http://site.ru/kartinka.png"></p>
mysql_query(" UPDATE `Message23` SET `Text`='$new_text' WHERE `Message_ID`='$id' ") or die(mysql_error());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question