I am passing form element from page to page...
Page1
<input name="firstname" type="text" id="firstname" value="" size="30">
Page2
<?php echo $HTTP_POST_VARS['firstname']; ?>
But when I type is a value with an apostrophe in the form element, the result in page2 shows a slash \ as well. Is there a way that the slash will not be added instead of adding the stripslashes command?
<?php echo stripslashes($HTTP_POST_VARS['firstname']); ?>