Ahh, because it's raw html and not in php.

one choice would be to encapsulate it within php

<input type="text" value="<?php echo "He said, \"How'm I gonna get this to
work?\", with a frown";?>" size="50">

or

<input type="text" value=<?php echo htmlspecialchars("He said, \"How'm I
gonna get this to work?\", with a frown"); ?>" size="50">

or stay with RAW HTML and use the correct 

<input type="text" value="He said, &ldquo;How'm I gonna get this to
work?&rdquo;, with a frown" size="50">

Warren Vail


-----Original Message-----
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 11:55 AM
To: Vail, Warren; James E Hicks III; [EMAIL PROTECTED]
Subject: RE: [PHP] <input type="text" value="He said, "How do I get this
to work?", with a frown" size="50">


Vail, Warren <mailto:[EMAIL PROTECTED]>
    on Tuesday, March 16, 2004 11:14 AM said:

> <input type="text" value="He said, \"How'm I gonna get this to
> work?\", with a
> frown" size="50">

escaping does not work.


chris.

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

Reply via email to