• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about submission form to database

(08-07-2019, 02:45 PM)ronniebel Wrote:
(08-07-2019, 02:30 PM)dave friend Wrote: The error that "test view page" displays indicates you have not loaded the "form" helper.

The following line of code is in the example you are working from

PHP Code:

It turns out that "form_validation" will load the "form" helper for you.

If you are not using "form_validation" in your test then explicitly load the "form" helper in your controller with this line.
PHP Code:
Thanks for the info.  Do I replace in my controller

PHP Code:

with this below?
PHP Code:

If you are not using field validation you can (but do not have to) replace library('form_validation') with helper('form'). One or the other must be used.

Messages In This Thread
RE: Question about submission form to database - by dave friend - 08-07-2019, 08:38 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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