Re: How to escape " in hidden field?

From: Date: Tue, 03 Sep 2002 06:35:45 +0000
Subject: Re: How to escape " in hidden field?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-114984@lists.php.net to get a copy of this message
> Try this with single quotes: > > <INPUT TYPE="HIDDEN" VALUE='Hello "world"' > NAME="Message"> Year, but then I couldn't use single-quotes in the text ;-) The problem is that the content of the field is inserted by the user, so I cannot say if he uses single- and/or double-quotes.

« previous php.general (#114984) next »