php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14203 Passing variables with issues
Submitted: 2001-11-23 21:16 UTC Modified: 2001-11-23 23:07 UTC
From: eduardo_samg at hotmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.0.6 OS: windows xp
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eduardo_samg at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-11-23 21:16 UTC] eduardo_samg at hotmail dot com
#when i try to set a default value to a text box like this:

<html>
<head></head>
<body>


<?php

$s="hello world";
echo "<input type='text'  value=$s"; 
?>

</body>
</html>


# this works but in the text box only apears the word 'hello' , all that is after the space is ignored, why?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-23 23:07 UTC] mfischer@php.net
Please ask support questions at php-general@lists.php.net.

Bogus.

Ps: you want to use quotes around $s.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC