ID: 25857 Updated by: [EMAIL PROTECTED] Reported By: jrh303 at psu dot edu -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Knoppix3.2 PHP Version: 4.3.2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Put your value in double quotes: value="<?php echo($row["some_string_with_spaces"]);?>" Previous Comments: ------------------------------------------------------------------------ [2003-10-13 16:14:34] jrh303 at psu dot edu 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 this bug report at http://bugs.php.net/?id=25857&edit=1
