Re: read only texbox to html with php
| From: | Haydar TUNA | Date: | Sun, 08 Apr 2007 03:48:36 +0000 |
| Subject: | Re: read only texbox to html with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252235@lists.php.net to get a copy of this message | ||
Hello,
If you use read only textbox in HTML, you can use like a following
HTML code.:)
<input type="text" name="txtYourname" value="Haydar" disabled>
--
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
""Ross"" <ross@aztechost.com>, haber iletisinde þunlarý
yazdý:49.CD.21072.15C11064@pb1.pair.com...
>I have a readonly textbox that gets mailed as a newsletter. The text is a
>standard covering letter. The problem is when I try and convert it to html
>it doesn't work It is inserted into a variable via a form textarea
>$mail_text.
>
> "....available on the web site <a
> href="http://www.myurl.org">http://www.myurl.org</a>
so you can see who is
> doing....."
>
> I tried this
>
> htmlentities((stripslashes($mail_text)));
>
>
> Any ideas?
>
> R.