Hi,
I'm having a little trouble using a simple for to post information.
Here is my form.
<form action="testing .php" method="post" target="_blank" >
<b>Your Code:</b><br />
<textarea name="code" rows="5" cols="50"></textarea>
<input type="submit" value="Preview" />
</form>
Landing page.
<?php echo $_POST["code"]; ?>
When you submit anything with a single or double quotation ( ' or " ), on the landing page a slash ( \ ) is inserted right before the quotation.
This: href="www.myURL .com" entered into the form will submit and post like this on the following page: href=\"www.myUR L.com\"
This form worked on my previous host just fine but not on my new one. Does anyone have any suggestions?
I'm having a little trouble using a simple for to post information.
Here is my form.
<form action="testing .php" method="post" target="_blank" >
<b>Your Code:</b><br />
<textarea name="code" rows="5" cols="50"></textarea>
<input type="submit" value="Preview" />
</form>
Landing page.
<?php echo $_POST["code"]; ?>
When you submit anything with a single or double quotation ( ' or " ), on the landing page a slash ( \ ) is inserted right before the quotation.
This: href="www.myURL .com" entered into the form will submit and post like this on the following page: href=\"www.myUR L.com\"
This form worked on my previous host just fine but not on my new one. Does anyone have any suggestions?
Comment