Hi,
I'm pulling information from a table then displaying in on a page, I also need to have a text box displayed on the left of the text, so you have....
|txtbox1| Ice Cream
|txtbox2| Cake
|txtbox3| Yogurt
|txtbox4| Fruit
The number of options will vary, from day to day, and I need the text box to have a different name from each other, textbox1, textbox2 etc, how do do this, in the name field, I need to increment the name with +1.
Also when users press submit, an e-mail is generated and sent off. I need it so if someone enters the value '1' into a textbox the Option is entered into the email. But if a value isn't entered, the option isn't put into the email
i.e.
3 Ice Cream
1 Cake
1 Fruit
(No Yogurt Selected)
Can this be done?
I had it with radio buttons, I just gave the button the value of $row[0].
Cheers
Ben