Help Submit Button in codeigniter forms.

#3
[eluser]therealmaloy[/eluser]
i would suggest that you use the associative array method... for sure you know this Smile but i guess it's one of the neat methods out there...

Code:
// validation here for security and data integrity reasons

$data = array(
'entry_id'=>$this->input->post('entry_id'),
'body'=>$this->input->post('body'),
'author'=>$this->input->post('author'));

$this->db->insert('comments',$data);


Messages In This Thread
Help Submit Button in codeigniter forms. - by El Forum - 03-21-2009, 08:25 PM
Help Submit Button in codeigniter forms. - by El Forum - 03-21-2009, 09:35 PM
Help Submit Button in codeigniter forms. - by El Forum - 03-22-2009, 01:48 AM
Help Submit Button in codeigniter forms. - by El Forum - 03-22-2009, 02:04 AM
Help Submit Button in codeigniter forms. - by El Forum - 02-20-2012, 07:54 PM
Help Submit Button in codeigniter forms. - by El Forum - 02-21-2012, 09:09 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.