This is a discussion on "PHP Form Trouble." within the PHP Forum section. This forum, and the thread "PHP Form Trouble. are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
PHP Form Trouble.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
PHP Contact Form Trouble.
Sorry if this question has been asked before.
I'm having some trouble with my php contact form. Everything sends except the selected option in the question area. HTML:
Last edited by Pádraig; Jul 7th, 2007 at 19:14. |
|
|
|
|||
|
Re: PHP Form Trouble.
I'm just learning, so stand to be corrected. Your variable name under Select (HTML code) is "Question". Capital Q. All other references are lower case q.
In PHP that means they are two different variables. The capital Q wants altering to lower case. Hope that helps. |
|
|||
|
Re: PHP Form Trouble.
It doesn't seem to have worked.
|
|
||||
|
Re: PHP Form Trouble.
try:
|
|
|||
|
Re: PHP Form Trouble.
Unless someone has a better way and I'm sure they do. I believe you could list each list item in your email script and if it has been selected it will show the value you gave it (make sure you give each option a name). I know this works for radio buttons and check boxes. Might be worth a shot.
Good Luck, Scott |
|
||||
|
Re: PHP Form Trouble.
Here you go. This seems to work:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
![]() |
| Tags |
| php, form |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble with form controls. Height, width and all that | magnetica | Web Page Design | 7 | Aug 10th, 2007 12:47 |
| Contact form trouble | Ghost | PHP Forum | 10 | Mar 10th, 2007 00:20 |
| Having trouble with PHP | voodoo465 | PHP Forum | 5 | Feb 20th, 2007 21:47 |
| CGI Trouble | Maverick25r | Other Programming Languages | 0 | Jul 31st, 2006 18:24 |
| Trouble Getting Site Up | M.K.Russ. | PHP Forum | 0 | Apr 17th, 2006 15:59 |