Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] library question so simple/noob you'll be proud to answer me ...
#11

[eluser]Dagobert Renouf[/eluser]
It works like this :

Code:
public function __construct()
    {

        $this->ci =& get_instance();
        $this->ci->load->helper('url');
        $this->ci->load->database();

    }

    public function display($table, $params = "")
    {




            echo base_url();

            $fields = $this->ci->db->list_fields($table);

            //...


    }


that was ontguy first answer, I know I suck.




Theme © iAndrew 2016 - Forum software by © MyBB