Welcome Guest, Not a member yet? Register   Sign In
FormIgniter.org launched - Easy form generator - source code now available
#41

[eluser]JonoB[/eluser]
[quote author="eliminator2009" date="1305299034"][quote author="JonoB" date="1305250007"]Exactly as the error message says: look on line 26 of your controller.

Code:
$this->load->view('myform_view', $data);

You are using a variable called $data, but you have not defined it yet.[/quote]

The all above files are auto generated by formigniter.

Where and how do i define $data variable in form.

Thanks.[/quote]
A quick look through your code indicates that it probably is not needed at all, since you are not pre-populating the form with an existing record from your db.

So, try changing that line to
Code:
$this->load->view('myform_view');


Messages In This Thread
FormIgniter.org launched - Easy form generator - source code now available - by El Forum - 05-13-2011, 04:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB