Re: string question

From: Date: Wed, 11 Jun 2003 14:01:56 +0000
Subject: Re: string question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-151067@lists.php.net to get a copy of this message
Put quotes around the value attribute of your input tag, for example <input type="hidden" name="x" value="A.B. XYZ" /> Mukta Telang wrote:
Hi, if a string is: $x="A.B. XYZ"; and if I post it as a hidden form control and echo $_POST['x'] then I get: A.B. and not "A.B. XYZ" ! What should I do? Mukta
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#151067) next »