Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
smoke каза:Махни addslashes и ще се оправи :?:
$text="asdsad'asdasd'asdasd sa'd sa'd 'as'd as'd's a";
$text = nl2br(addslashes(htmlspecialchars($text)));
$text=stripcslashes($text);
echo $text;
heminei каза:smoke каза:Махни addslashes и ще се оправи :?:
нееееееееееееее
Ползвай това:
$text="asdsad'asdasd'asdasd sa'd sa'd 'as'd as'd's a";
$text = nl2br(addslashes(htmlspecialchars($text)));
$text=stripcslashes($text);
echo $text;
Никой? В php.ini не ми се бърка...tedobedo каза:print "<div class="tutorial-cont"> stripcslashes(".$row['text']) ;
Така трябва да стане нали?
$text = htmlspecialchars(strip_tags($_POST['text']));
$text = str_replace("'","'",$text);
$text = str_replace('"',""",$text);
$query= ...
IzKuFeLiQqQqQ каза:еми още при записа можеш да направиш така
$text = htmlspecialchars(strip_tags($_POST['text']));
$text = str_replace("'","'",$text);
$text = str_replace('"',""",$text);
$query= ...
така ще избегнеш и възможни грешки при запис![]()
$text = nl2br(addslashes(htmlspecialchars($_POST['text'])));
$text = str_replace("'","'",$text);
$text = str_replace('"',""",$text);
$query= ...
stripslashes();
mysql_real_escape_string();
addslashes();
htmlentities($promenlivata_s_informaciqta, ENT_QUOTES, 'UTF-8')
stripslashes();