[Xitami] Xitami and PHP POST method
Michael Borkowetz
xitami@lists.xitami.org
Wed, 9 Oct 2002 12:17:18 -0000
Hi All,
I try to learning some php functions, it doesent work!
input.php file:
<HTML>
<HEAD>
<TITLE>Text input</TITLE>
</HEAD>
<BODY>
<FORM method="post" action="output.php">
<input type="text" name="mytext" size="20">
<input type="submit" value="send">
</FORM>
</BODY>
</HTML>
output.php file:
<HTML>
<HEAD>
<TITLE>Show output</TITLE>
</HEAD>
<BODY>
<?php
print($mytext);
?>
</BODY>
</HTML>
The error is allways:
Notice: Undefined variable: mytext in C:\Xitami\webpages\mytest\output.php
on line 7
What do I wrong?
Thank you for your help!
Michael