• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Message: Undefined variable: data

#3
[eluser]rochellecanale[/eluser]
You forgot to declare the data
Use this:
Code:
$data['success'] = 'successfully submitted!';
if($this->form_validation->run()== FALSE){
$this->load->view('test_view',$data);  // you forgot to declare the data variable


Messages In This Thread
Message: Undefined variable: data - by El Forum - 09-25-2012, 01:52 AM
Message: Undefined variable: data - by El Forum - 09-25-2012, 02:08 AM
Message: Undefined variable: data - by El Forum - 09-25-2012, 02:25 AM
Message: Undefined variable: data - by El Forum - 09-25-2012, 09:25 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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