# I need an explanation

**URL:** <https://forum.kirupa.com/t/i-need-an-explanation/81556>\
**Category:** Uncategorized\
**Created:** [March 3, 2005, 8:46am UTC](https://forum.kirupa.com/t/i-need-an-explanation/81556 "2005-03-03T08:46:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![straylightrun](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@straylightrun](https://forum.kirupa.com/u/straylightrun)\
**Post date:** [March 3, 2005, 8:46am UTC](https://forum.kirupa.com/t/i-need-an-explanation/81556/1 "2005-03-03T08:46:09Z")

</div>

```php
 <?PHP 

$date = date ("l, F jS, Y"); 
$time = date ("h:i A"); 

$msg = "Below is the result of your feedback form. It was submitted on $date at $time.

"; 

if ($_SERVER['REQUEST_METHOD'] == "POST") {
	foreach ($_POST as $key => $value) { 
		$msg .= ucfirst ($key) ." : ". $value . "
"; 
	}
}
else {
	foreach ($_GET as $key => $value) { 
		$msg .= ucfirst ($key) ." : ". $value . "
"; 
	}
}

mail($to, $subject, $msg, $headers); 
if ($forward == 1) { 
	header ("Location:$location"); 
} 
else { 
	echo "Thank you for submitting our form. We will get back to you as soon as possible."; 
} 

?>

```

in this script what does \*\*  
\*\*sometimes i also see \*\*\r \*\*

what does those do?
