Javascript – A form that spits out the input


I can't for the life of me find a form that doesn't email the results that you submit.

I'm looking to find a form that I can have users enter simple data that i can then spit back out at them in different arrangements. If they submit First and Last, I'll spit out, amongst other things, I'm willing to scrounge the code manually to do this, but I cant find a simple form that would allow me to do this.

Edit: PHP or similar simple languages. I've never touched .NET before.

Best Solution


<form action="process.php" method="post">
    First: <input type="text" name="first" />
    Last: <input type="text" name="last" />
    <input type="submit" />

Next page:


$first = $_POST['first'];
$last =  $_POST['last']

echo $first . "." . $last . "";

See for more examples and explanation