ID: 44610 Updated by: [EMAIL PROTECTED] Reported By: ricardo dot jorge86 at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: XP PHP Version: 5.2CVS-2008-04-02 (CVS) New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2008-04-02 18:40:25] josh at brink dot com You put: <?php print ("<input type='text' value="any text" name='anytext'">); ?> I think you are trying to do this: <?php print ("<input type='text' value='any text' name='anytext'">); ?> Use of double quotes breaks apart the string. ------------------------------------------------------------------------ [2008-04-02 13:44:16] ricardo dot jorge86 at gmail dot com Description: ------------ text including spaces placed in an input text control in HTML show the whole text. text including spaces placed in an input text control in PHP does not show the whole text, only the first word up to the first space is displayed. The same happens with variables from a BD. Reproduce code: --------------- <?php print ("<input type='text' value="any text" name='anytext'">); ?> Expected result: ---------------- inside the text box: any text Actual result: -------------- inside the text box: any ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44610&edit=1
