> 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?
Learn HTML. Use quotes around your attribute values: <input type="hidden" name="foo" value="A.B. XYZ"> ---John W. Holmes... Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php