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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 12:01:32 2024 UTC