• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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