You are here: Re: [PHP] PHP help Quotations, Quotations, Quotations « PHP « IT news, forums, messages
Re: [PHP] PHP help Quotations, Quotations, Quotations

Posted by Stephen Johnson on 10/20/10 11:10

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--
*********

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация