Help Submit Button in codeigniter forms.

#4
[eluser]Clooner[/eluser]
The easiest way is to copy the $_POST array and leave out the submit key. Something like this.

Code:
$new_array=array();
foreach ($_POST as $key=>$value)
if ($key!="submit") $new_array[$key]=$value;
then insert the new_array into the db.


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.