Re: newbie: a couple basic questions
| From: | john at elysium dot ltd dot uk | Date: | Sun, 07 Jul 2002 20:42:45 +0000 |
| Subject: | Re: newbie: a couple basic questions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105969@lists.php.net to get a copy of this message | ||
Hi
Yes the return function exits the function - you can specify a return value to
http://www.php.net/manual/en/function.return.php
HTTP_POST_VARS is depricated (still works though) $_POST has replaced:
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.post
Basically $_POST is an associative array of form values submitted using the POST
method - you should look at
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.get
to.
Regards
John
---- Original Message ----
From: Alexander Ross
Date: Sun 7/7/02 21:33
To: php-general@lists.php.net
Subject: [PHP] newbie: a couple basic questions
1) in a fuction, does a return statment automatically exit the function as
well?
2) can someone give me a better explination of $HTTP_POST_VARS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php