Problem with variables
| From: | Tomek | Date: | Thu, 14 Aug 2003 14:07:52 +0000 |
| Subject: | Problem with variables | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10073@lists.php.net to get a copy of this message | ||
After instaling php on the Apache, I have tried it with this simple page
containing only one form:
html page
<html>
<head>
<title>test</title>
</head>
<body>
<form action="post1.phtml" method="post">
Name: <input type="text" name="Username"><br>
Password: <input type="password" name="Password"><br>
<input type="submit" name="Submit" value="Wy¶lij">
</form>
</body>
</html>
post1 php page
<html>
<head>
<title>Wydruk 3.1: post1.phtml</title>
</head>
<body>
<?php
print( "Nazwa u¿ytkownika: $Username<br>" );
print( "Has³o: $Password<br>" );
?>
</body>
</html>
unfortunately variables Username and Password are not visible in php file. I
have no idea why.
Please help me if you can
Regards
Tom