เป็น function ที่เพิ่ม ให้ กับ ข้อความที่ต้อง โดยใช้ เมื่อ magic_quotes_gpc เป็น off
<?php
$str = "Is your name O'reilly?";
// Outputs: Is your name O'reilly?
echo addslashes($str);
?>
เป็น function ที่เพิ่ม ให้ กับ ข้อความที่ต้อง โดยใช้ เมื่อ magic_quotes_gpc เป็น off
<?php
$str = "Is your name O'reilly?";
// Outputs: Is your name O'reilly?
echo addslashes($str);
?>