addslashes() 작은 따옴표, 큰 따옴표, 백슬래시 앞에 백슬래시를 추가한다. 즉, PHP 'PHP' "PHP"를 PHP \'PHP\' \"PHP\"로 변경한다. <!doctype html> <html lang="ko"> <head> <meta charset="utf-8"> <title>PHP</title> <style> * { font-family: "Consolas", monospace; font-size: 36px; } </style> </head> <body> <form action="" method="post"> <input type="text" name="memo"> <input type="submit" value="Submit"> </form> <p><?php echo $_POST[ […]