Create a gist now

Instantly share code, notes, and snippets.

anonymous /sample.php
Created Jul 16, 2015

What would you like to do?
<?php
// If the user submitted a form providing their name, display it back to them!
if (isset($_POST['name']))
echo 'Hello ' . $_POST['name'] . '! How are you?';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment