Help Submit Button in codeigniter forms.

#5
[eluser]himalking[/eluser]
Although this might be too late
in case someone else interested


you can do either:
1- remove the "name" attribute from the input tag //hence won't be included in the $_POST array.
2- or use unset($_POST['Submit']) //this will remove the submit entry form the $_POST array.


then use your insert normally.
however it is not recommended to insert the data using $_POST directly without filtering for security.


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.