cvs: phpweb / tut.php
| From: | Jesus M. Castagnetto | Date: | Tue, 16 Jul 2002 21:57:39 +0000 |
| Subject: | cvs: phpweb / tut.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11345@lists.php.net to get a copy of this message | ||
jmcastagnetto Tue Jul 16 17:57:39 2002 EDT
Modified files:
/phpweb tut.php
Log:
s/HTTP_POST_VARS/_POST/ in example code, missed it in yesterday's update
Index: phpweb/tut.php
diff -u phpweb/tut.php:1.18 phpweb/tut.php:1.19
--- phpweb/tut.php:1.18 Mon Jul 15 20:07:56 2002
+++ phpweb/tut.php Tue Jul 16 17:57:39 2002
@@ -223,8 +223,8 @@
In this file you would have something like this:
</p>
-<?php example('Hi <?php echo $HTTP_POST_VARS["name"]; ?>.
-You are <?php echo $HTTP_POST_VARS["age"]; ?> years old.')?>
+<?php example('Hi <?php echo $_POST["name"]; ?>.
+You are <?php echo $_POST["age"]; ?> years old.')?>
<p>
It should be obvious what this does. There is nothing more to it.