php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35165 Does not parse php content inside html
Submitted: 2005-11-09 10:08 UTC Modified: 2005-11-09 10:11 UTC
From: jbeduya at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.5 OS: Windows XP
Private report: No CVE-ID: None
 [2005-11-09 10:08 UTC] jbeduya at gmail dot com
Description:
------------
When I try to run my old script under PHP 5.0.4 to the one that I have newly installed, it did not parse the code that I embed in html.

Reproduce code:
---------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<?php $username='username'; ?>
<input type="text" name="test" value="<?=$username?>" />
</body>
</html>

Expected result:
----------------
The textbox field should have the value of the variable.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-09 10:11 UTC] tony2001@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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 07:00:01 2025 UTC