2007. 03. 21, szerda keltezéssel 11.51-kor Ross ezt írta:
> 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....."
> 

If I understand correctly, you are setting the value of an HTML textbox to some 
HTML code. When viewing the page, you want the HTML in the textbox to be 
rendered. This isn't possible.

> I tried this
> 
> htmlentities((stripslashes($mail_text)));
> 
> 
> Any ideas?
> 

Why can't you forget the textbox just output the HTML directly?

Edward

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

Reply via email to