• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending a Code to an Email Address in CodeIgniter

I'll give you one example.
You tell us you load a model named Code_model.
This model contains the find_code() function.
But now, you wonder why the line
PHP Code:
in your controller doesn't work.
That tells me that you don't understand that you have to refer to the model, like this:
PHP Code:
$code $this->code_model->find_code(); 
The CI documentation is very clear about this concept.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

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