Re: PHP help Quotations, Quotations, Quotations
| From: | Stephen Johnson | Date: | Fri, 11 Mar 2005 05:31:50 +0000 |
| Subject: | Re: PHP help Quotations, Quotations, Quotations | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210494@lists.php.net to get a copy of this message | ||
http://www.php.net/stripslashes
On Mar 10, 2005, at 9:17 PM, stg wrote:
Hello, I am having a small issue with posting from forms; It goes like such: I have a form in which a user can type in a message and in a hidden text field a link is sent, then in the page the form goes to it sends and email to a mailing list with the message and a link underneath bottom. However when I submit a hyperlink in a form like <input type="hidden" name="link" value=<a href="http://localhost/knewsl/<?php echo $row_Recordset1['path']; ?>" > It is received in the next page with a "\" before every " " " for example: <a href=\"http://localhost/knewsl/file.pdf\">Click here to view newsletter</a> - Which obviously doesn't work. I would be most grateful if anyone could help. Cheers, Simon *********Stephen Johnson stephen@thelonecoder.com http://www.thelonecoder.com --continuing the struggle against bad code-- *********