How to insert into Database the Prepped Data from the Validation Class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to insert into Database the Prepped Data from the Validation Class (/showthread.php?tid=14255) |
How to insert into Database the Prepped Data from the Validation Class - El Forum - 12-24-2008 [eluser]Unknown[/eluser] I am doing a simple user registration. I prepped the data along with the validation rules just as the documentation stated. Code: this->form_validation->set_rules('first_name', 'First name', 'trim|required|max_length[30]|xss_clean'); Now I am ready to insert the info into the database. something like this. Code: $data = array( Any helo will be greatly appreciated. Thanks! How to insert into Database the Prepped Data from the Validation Class - El Forum - 12-24-2008 [eluser]amites[/eluser] as I recall the POST data is modified by the form_validation class How to insert into Database the Prepped Data from the Validation Class - El Forum - 12-25-2008 [eluser]phpwebdev[/eluser] [quote author="eatmyswan" date="1230186986"]I am doing a simple user registration. I Now I am ready to insert the info into the database. something like this. Code: $data = array( Any helo will be greatly appreciated. Thanks![/quote] Code: $data = array( Merry christmas How to insert into Database the Prepped Data from the Validation Class - El Forum - 12-25-2008 [eluser]Unknown[/eluser] Thank You Both. Merry Christmas! |