Posted by mtczx232 on 05/28/06 13:28
I'm new on PHP, I install PHP Version 5.1.4 on IIS (XP pro SP2)
accordin the unstruction.
I try
<?php
phpinfo();
?>
and I got good result.
now I try somthing like that:
b.php---
<html>
<body>
<form action="a.php" method="post">
Name: <input type="text" id="username" name="username" /><br />
<input type="submit" value="send" />
</form>
<body>
<html>
a.php---
<?php
echo ("it's work!");
//echo ("your name is $_POST['name'] <br />"); <<<<<<<<<<<<<
?>
when I open comment on last line:
echo ("your name is $_POST['name'] <br />");
I got Empty page (a.php)?
Navigation:
[Reply to this message]
|