php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34489 text with spaces in input box
Submitted: 2005-09-13 09:42 UTC Modified: 2005-09-14 12:32 UTC
From: jon dot eyre at mtechsa dot co dot za Assigned:
Status: Not a bug Package: Strings related
PHP Version: 5.0.5 OS: Win XP pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jon dot eyre at mtechsa dot co dot za
New email:
PHP Version: OS:

 

 [2005-09-13 09:42 UTC] jon dot eyre at mtechsa dot co dot za
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.


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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-13 09:48 UTC] sniper@php.net
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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 [2005-09-14 12:32 UTC] mgf@php.net
The support forum works just fine -- but I don't believe you've tried it, as I can't recall seeing this question posted to it.  Try asking on php-general@lists.php.net, where some of the people posting here also hang out.

And, by the way, the code you posted cannot possibly even produce HTML, as it contains parse errors.  When you post to php-general, it would be a good idea to cut-and-paste your actual code.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 11:01:30 2024 UTC