"or" in PHP, but it shows \ "or \" in the browser
I fill in "
or '
on the first name of the input text and hit the submit button, but the browser shows \"
or \'
. I want it to show only "
or '
. How can i do 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>
Thank.
+3
source to share