On Thursday 01 February 2001 19:07, Karl J. Stubsjoen wrote:

> I'm trying to pass back a link to the user in a textbox (so they can
> copy and paste it elsewhere), however my textbox is being parsed
> incorrectly by the browser because of the " quotes which happen in the
> link I'm passing - basically the HTML for the text box is getting
> parsed together with the HTML for the passed link and .... the results
> are messed up.

I think you want to use htmlentities ():

echo "<textarea name='foo' rows='20' cols='50'>" . 
  htmlentities ($Content) . "</textarea>";

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka", but "That's funny..."

- Isaac Asimov

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to