" or ' in PHP but it show \" or \' in browser -
i fill " or ' @ input text firstname , press submit, browser shows \" or \'. want show " or '. how can this?
<?php echo $_post['firstname']; ?> <html> <body> <form method="post"> <input type="text" name="firstname" placeholder="firstname"/> <input type="submit" name="ok" value="ok" /> </form> </body> thanks.
stripslashes(); simple problem.
Comments
Post a Comment