I guess more of my problem is with the model. I have named it MyModel.php and load it with $this->load->model('MyModel') in the controller's __construct? And then just call insertIgnore() in one of my callbacks? I also added another function to MyModel called
public function update_population(). At the top of this model file containing the two functions, insertIgnore() and update_population() I have
class MyModel extends CI_Model {
public function __construct() {
parent::__construct();
}
Well, I managed to get the function in the model to run, update_population(). Now I just need to figure out how to set up the SQL.
I still need to get the insertIgnore going....
thx for your help
proof that an old dog can learn new tricks