From:             ricardo dot jorge86 at gmail dot com
Operating system: XP
PHP version:      5.2CVS-2008-04-02 (CVS)
PHP Bug Type:     *General Issues
Bug description:  inputbox bug

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 bug report at http://bugs.php.net/?id=44610&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44610&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44610&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44610&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44610&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44610&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44610&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44610&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44610&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44610&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44610&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44610&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44610&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44610&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44610&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44610&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44610&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44610&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44610&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44610&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44610&r=mysqlcfg

Reply via email to