Welcome Guest, Not a member yet? Register   Sign In
Join in controller method
#4

(This post was last modified: 07-05-2021, 12:24 PM by ikesela.)

declare variable first

protected $db;

then in controller __construct()

$this->db = db_connect();

now your are ready to use.

$this->db->select('tratte_acquistate.*');
Reply


Messages In This Thread
Join in controller method - by pippuccio76 - 07-05-2021, 04:16 AM
RE: Join in controller method - by craig - 07-05-2021, 06:44 AM
RE: Join in controller method - by paliz - 07-05-2021, 12:13 PM
RE: Join in controller method - by ikesela - 07-05-2021, 12:22 PM
RE: Join in controller method - by pippuccio76 - 07-05-2021, 12:50 PM
RE: Join in controller method - by ikesela - 07-05-2021, 10:02 PM
RE: Join in controller method - by pippuccio76 - 07-06-2021, 03:54 AM
RE: Join in controller method - by manager - 07-05-2021, 10:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB