$name = Input::getVar('name', '', 'STRING');
$email = Input::post('email', '', 'EMAIL');This code will get the value of the "email" variable from the POST array and store it in the `$email` variable. The second parameter is the default value to use if the variable is not found, and the third parameter is the expected data type of the variable ("EMAIL" in this example). Package Library: This example also uses the Joomla Framework Input package.