01132003 0826 CST
Ok. This code is right off the PHP.net site. I changed the
action="action.php" to action="form.php" only.
But, when I run the page I receive "Hi . You are years old." Only.
Is this because I have global_variables turned off, even through Im
using $_post?
Wade
**********
<html>
<head>
<title>PHP Form</title>
<body>
<form action="form.php" method="post">
Your name: <input type="text" name="name" />
Your age: <input type="text" name="age" />
<input type="submit">
</form>
</body>
</html>
************
<html>
<head>
<title>PHP Form</title>
<body>
Hi <?php echo $_post["name"];?>.
You are <?php echo $_post["age"];?> years old.
</body>
</html>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP-WIN] Using the GET Method Wade
- RE: [PHP-WIN] Using the GET Method Warren Vail
- Re: [PHP-WIN] Using the GET Method Bobo Wieland
- RE: [PHP-WIN] Using the GET Method Sean Malloy
- [PHP-WIN] initialize variables (was: Using the GE... Bobo Wieland
- Re: [PHP-WIN] initialize variables (was: Usin... Stephen Edmonds
- Re: [PHP-WIN] initialize variables (was: ... Bobo Wieland
- Re: [PHP-WIN] initialize variables (... Dash McElroy
- RE: [PHP-WIN] initialize variables (... Sean Malloy
- [PHP-WIN] RE: initialize variables (was: Usin... Sean Malloy