I am new to the Codeigniter.How to store the form values in mysql using codeigniter ,Can any one help me…Is there any links Can you provide….
Thanks In Advance.
I am new to the Codeigniter.How to store the form values in mysql using
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Let me clearify you in an easy way…
This will be your controller
This will be your views. Befor creating views go to autoload.php and autoload url helper and database class.
In your config.php set config[‘base_url’] = “path to your site”;
form.php
success.php
In your model you need to pull those datas of form and insert into db this way
site_model.php
In this case your database has three fields… modify query as per your requirements