String SQL command escape
<?php $query = "SELECT quote FROM test WHERE \'ID\'=1"; $quote = stripslashes($query); echo $quote; ?>