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

#4
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:
$this->load->library('form_validation'); 

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:
$this->load->helper('form'); 
Reply


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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