Welcome Guest, Not a member yet? Register   Sign In
Creating a dynamic lead form to send data to DB and send emails
#2

[eluser]dnc[/eluser]
Personally, I think I would do this with one controller. Simply pass the $_POST value to the data array and then thank the user and send the email.

The data['options'] will need to be different because the input will vary. Other than that data[] will be the same key.



I would just populate the data['same_input'] and also populate the appropriate $data['options'] depending on what the user chose on submit.


Messages In This Thread
Creating a dynamic lead form to send data to DB and send emails - by El Forum - 06-02-2012, 09:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB