$_POST

This YouTube video was created by Steve Griffith.

The $_POST variable is an associative array of variables passed to the current script via the HTTP POST method when receiving data from a form.

<?php 
  // 
  echo 'Hello, '.$_POST['name']; 
?>

Assuming the following form was submitted:

<form method="post">
  <input type="text" name="name" value="World">
</form>

The above example will output something similar to:

Hello, World