This is pretty easy
what you need to do is to create a file like this
file name: form.php
file content
<?php
if ($submit){
print "Here is the result of your application";
print "$firstname";
etc
else {
?>
<FORM ACTION="<?php echo($PHP_SELF); ?>" METHOD=POST>
First Name: <INPUT TYPE=TEXT NAME="firstname" SIZE=20>
etc
<INPUT TYPE=SUBMIT NAME="submit" VALUE="SUBMIT">
<?php
}
?>
This file will display a form (created under the "else"). When the form is submitted, it will display the form result (which display function is done under the "if ($submit)").
To display the relevant field's content, you need to use relevant variables. ie if you want to call the content of "firstname" that is submitted through the form, you need to display with the command "print "$firstname";" and so on.
Hope this helps.
Laura Brandt
--
Aletia Hosting - Full-Featured, Superfast Web Hosting
PHP, MySQL, Perl, Multiple domain support and more.
200MB + 10GB Transfer at $9.95/mth
http://AletiaHosting.com