Basic PHP Form help

Associate
Joined
22 Oct 2005
Posts
438
Location
Wales
Hi Guys,

I'm very new to PHP so be gentle :P

I'm trying to setup a form with 2 outputs and want php to process the information and com back with a response.....

So far i have a drop down select list in the form and a text input field, what i'm after is for php to process the text input field based on what's selected in the drop down, eg.

In the drop down someone would select their speed of broadband and in the text field they would input their download rates, the php form would then generate and output based on their selection and text input....

The problem i an having is, i can't seem to find way folr php to process the selection in the drp down as the 'name' is the same for all the dropdowns (since there is only one dropdown).

How do i get hp to process the value and not the entir dropdown?

Hope this makes sense

TIA

G
 
Thanks for the reply :)

That is almost the same as i had done but i was trrying to get php to generate and output based on 2 values returned by a form and could only getting it working by using just the IF statement, when i use the elseif it seems to fail?

If is working fine now so i'll leave it like that now

Again thanks for the reply :)
 
Back
Top Bottom