Re: PHP help Quotations, Quotations, Quotations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
http://www.thelonecoder.com

--continuing the struggle against bad code--
*********

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux