a different contact form ... please help!!!!

can someone tell me how to include all of the input fields in the form below please???

[PHP]

<?php if ($_POST[t] == 'process'){ mail('[email protected]','Contact Form Submission',stripslashes($_POST[message]),'FROM:'.$_POST[email]); echo'
'; echo'

Thank you, your message was sent to the webmaster.

'.""; echo'
'; } else { echo''.""; echo''.""; echo'Your E-Mail Address:

'.""; echo'Your name:

'.""; echo'Your phone:

'.""; echo'Select subject:

'.""; echo'Preferred way of contact? email phone

'.""; echo'Your Message:


'.""; echo''.""; echo''; } ?>

[/PHP]

Just incase someone else finds this and needs it, here is a working version of the script …

[PHP]

<?php if ($_POST[t] == 'process'){ $msg = ""; foreach ($_POST as $key => $value) { if($key <> "t"){ $msg .= "$key: $value\n"; } } mail('[email protected]','Contact Form Submission',stripslashes($msg),'FROM: [email protected]'); echo'
'; echo'

Thank you, your message was sent to the webmaster.

'.""; echo'
'; } else { echo''.""; echo''.""; echo'Your E-Mail Address:

'.""; echo'Your name:

'.""; echo'Your phone:

'.""; echo'Select subject:

'.""; echo'Preferred way of contact? email phone

'.""; echo'Your Message:


'.""; echo''.""; echo''; } ?>

[/PHP]