PHP addslashes() May 21, 2012 Pramod T P It returns a string with backslashes in front of the specified characters Example <?php echo addslashes(‘p/h”p{[^’); ?> Output p/h”p{[^