<?php $str = "Is your name O'reilly?"; // Outputs: Is your name O'reilly? echo stripslashes($str); ?>