note 111519 deleted from function.isset by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Mar 2013 17:46:36 +0000 |
| Subject: | note 111519 deleted from function.isset by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193819@lists.php.net to get a copy of this message | ||
Note Submitter: bonualberto at gmail dot com
----
<?php
/*FUNCTION ISSET*/
/*A typical use of this function is, for example, to verify whether a form has been sent.*/
if(isset($_POST['sent']))
{
echo "The form has sent the value: ".$_POST['value'];
}
?>
<!-- below the html code -->
<form action = "" method="post">
<input type="text" name="value" />
<input type="submit" name="sent" value="Sent the form" />
</form>