1if( isset($_POST['fromPerson']) )
2{
3 $fromPerson = '+from%3A'.$_POST['fromPerson'];
4 echo $fromPerson;
5}
6
7//Note: This resolves as true even if all $_POST values are empty strings
8if (!empty($_POST))
9{
10 // handle post data
11 $fromPerson = '+from%3A'.$_POST['fromPerson'];
12 echo $fromPerson;
13}