I'm actually using clients table instead of users table. So I want to pull client_id, first name, last_name and email from clients that have signed up through the site.
I tried that and it's pulling from the table the model is pulling in the constructor so I get this error
Unknown column 'user.first_name' in 'field list'
SELECT user_package.id, CONCAT(user.first_name, ' ', user.last_name, ' ', user.email) FRO…
I get the code. But Still not happening
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
require_once(FUEL_PATH.'models/Base_module_model.php');
class Selections_model extends Base_module_model {
public $foreign…
This is my Selection_model
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
require_once(FUEL_PATH.'models/Base_module_model.php');
class Selections_model extends Base_module_model {
public $foreign_keys = array…