Inserting into db after validation |
[eluser]PHP Creative[/eluser]
Hi there. I have the following script which validates each field. I was wondering what variables would I use to post the information into a table? – email, title, name, ip Code: $this->load->helper(array('form', 'url')); Many thanks.
[eluser]Colin Williams[/eluser]
http://ellislab.com/forums/viewthread/92009/ Check out part 7, it basically sends $_POST to a model for saving. The model function just does a $this->db->insert() on the table. Example files on last page: http://ellislab.com/forums/viewthread/92009/P45/
|
Welcome Guest, Not a member yet? Register Sign In |