" 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

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -