Welcome Guest, Not a member yet? Register   Sign In
Question about submission form to database
#4

(This post was last modified: 08-07-2019, 02:32 PM by dave friend.)

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



Theme © iAndrew 2016 - Forum software by © MyBB