I prefer:   print" <input type="text" value="\"My Quote\"">";

-----Original Message-----
From: Nathan Cassano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Quote in input tag value?



If there is a quote mark in an input tags value what is the correct way
to print the quote?

<input type="text" value="&quotMy Quote&quot">

or

<input type="text" value="\"My Quote\"">


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

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

Reply via email to