mail form |
[eluser]Master276[/eluser]
Hi guys, i'm trying to code my new landing page. I need a form to pick up the mail. I tried this but i think that is wrong. Code: <?php echo form_open('form'); ?> have you got some examples or tutorials to share with me? Moreover....i've got some doubt about the interaction with the Db...i've to define it in my controller right? thank you guys
[eluser]Ewout[/eluser]
You probably have your main default controller that calls your landing page view-file. In this view-file for your landing page you can add this form you have now. Then in your controller you can add a if-clause to check for a form post and then process it. If you are unsure about how your controllers and view-files should interact, check out the video tutorials here: http://codeigniter.com/tutorials/ Good luck |
Welcome Guest, Not a member yet? Register Sign In |