Jump to content

Help with formating a webform!


kallok

Recommended Posts

Hello! I am working on a form, I'm not amazing at coding so I am running into problems. What I am trying to do is build a web form that will sent the results to email. I'll use the "GroupName" and "TeamClimb" fields for an example. The form works, only the results are like this:

 

GroupName: GROUPS NAME HERE
TeamClimb: TEAM CLIMB INFO HERE

 

What I would like to do is have just what the user submits in one row like this:

GROUPS NAME HERE, TEAM CLIMB INFO HERE

 

I'm not really sure how to accomplish this, but I know there has to be some way!

 

Here's a sampling of some of the coding:

 

$GroupName = Trim(stripslashes($_POST['GroupName']));
$TeamClimb = Trim(stripslashes($_POST['TeamClimb']));

 

 

$Body .= "GroupName: ";
$Body .= $GroupName;
$Body .= "\n";
$Body .= "TeamClimb: ";
$Body .= $TeamClimb;
$Body .= "\n";

 

The actual link is: http://www.ysu.edu/reccenter/wellness/form.shtml

 

Thanks for any help!  ;D

Link to comment
https://forums.phpfreaks.com/topic/40751-help-with-formating-a-webform/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.