From: jrh303 at psu dot edu Operating system: Knoppix3.2 PHP version: 4.3.2 PHP Bug Type: *General Issues Bug description: Echo Will Not Display Space in Text Box
Description: ------------ When using an echo command to output a multi word string (a phrase with spaces) echo will only output up to the first space when embedded within an html textbox. There is no problem if the html is included in the echo statement, for example-- echo"<input type=\"text\" tabindex=\"4\" name=\"ClientLastName\" value= \"" .$row["ClientLastName"] ."\">"; Reproduce code: --------------- <input type="text" name="some_string" value = <? echo($row["some_string_with_spaces"]);?> > Expected result: ---------------- <textbox>Whole Phrase With Spaces</textbox> Actual result: -------------- <textbox>Whole</textbox> -- Edit bug report at http://bugs.php.net/?id=25857&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25857&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25857&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25857&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25857&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25857&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25857&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25857&r=support Expected behavior: http://bugs.php.net/fix.php?id=25857&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25857&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25857&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25857&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25857&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25857&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25857&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25857&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25857&r=float
