Multiple input fields

I need help with multiple input fields outputting to email

Page 1 of 1

4 Replies - 8863 Views - Last Post: 03 October 2007 - 04:03 AM Rate Topic: -----

#1 theh1tman   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 03-October 06

Multiple input fields

Posted 02 October 2007 - 11:26 AM

OK. First off, let me say I know very little about php. I primarily work in flash and most of the web work I do is informational design and although many of the sites I work on have shopping carts, I do not create them. I use an outsider for that.

I am working on a site in flash that contains multiple input fields so people can send order requests to my client. For instance, she wants their name, email address, phone number, address, as well as numerous questions about the colors, style, etc of the product they are inquiring about. I have managed to set up a base php page that allows for people to send one block of text, but what I need help with is a little different then that. No doubt it would be no problem for ANYONE who knows php but Im totally lost.

What I need to happen is this. I want to set up the fifteen or so input fields. When they fill in all of the fields (each named with specific variable names) and click submit, I want it to send my client an email. In the email, it should say "Name:" followed by whatever they input for the field with a variable name of "name," and continue down the line like that.

Can anyone help me figure out how to do this?

Is This A Good Question/Topic? 0
  • +

Replies To: Multiple input fields

#2 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6878
  • View blog
  • Posts: 31,672
  • Joined: 10-May 07

Re: Multiple input fields

Posted 02 October 2007 - 11:29 AM

http://www.dreaminco.../snippet332.htm
Was This Post Helpful? 0
  • +
  • -

#3 theh1tman   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 03-October 06

Re: Multiple input fields

Posted 02 October 2007 - 11:42 AM

View Postno2pencil, on 2 Oct, 2007 - 11:29 AM, said:



Although I appreciate the link, my issue is this. Im not looking for someone to give me the answer. Im looking for someone to help me understand the logic behind the php code. I can copy and past someone elses code all day, but I want to learn from the issue Im facing and gain a better understanding of how php works. This is more about education then a quick answer. So can someone explain the logic behind how to do this?
Was This Post Helpful? 0
  • +
  • -

#4 snoj   User is offline

  • Married Life
  • member icon

Reputation: 93
  • View blog
  • Posts: 3,583
  • Joined: 31-March 03

Re: Multiple input fields

Posted 02 October 2007 - 02:54 PM

But that's contained within the snippet.
Was This Post Helpful? 0
  • +
  • -

#5 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6878
  • View blog
  • Posts: 31,672
  • Joined: 10-May 07

Re: Multiple input fields

Posted 03 October 2007 - 04:03 AM

View Posttheh1tman, on 2 Oct, 2007 - 11:42 AM, said:

View Postno2pencil, on 2 Oct, 2007 - 11:29 AM, said:



Although I appreciate the link, my issue is this. Im not looking for someone to give me the answer.

Sometimes you get what you need.

View Posttheh1tman, on 2 Oct, 2007 - 11:42 AM, said:

Im looking for someone to help me understand the logic behind the php code.

http://www.php.net
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1