note 27490 deleted from function.isset by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 10:27:47 +0000 |
| Subject: | note 27490 deleted from function.isset by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48509@lists.php.net to get a copy of this message | ||
Note Submitter: frank@hellwig.org
----
Reliable method to check for post parameters using the $_POST array and the isset() function:
function get_post_param($name) {
if (isset($_POST["$name"])) {
return $_POST["$name"];
} else {
return "";
}
}