Jump to content

PHP adds a / before all quotes and double quotes


Recommended Posts

<form method="post" action="rpadd.php">
<textarea cols="75" rows="5" name="rpadd"></textarea>

I input "This doesn't work because PHP's not doing something." into the text area, then I execute:

<?php
echo $_POST["rpadd"]
?>

The output is: "This doesn/'t work because PHP/'s not doing something."  How can I erase the slashes?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.