Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: database list
Post: RE: database list

Hi,  Thanks, PHP Code: -- $this->db->database; -- echo the last database :s  (I 4 databases in my application).
2,365 Views
2 Replies
10-30-2019, 08:54 AM
Cognie
    Thread: database list
Post: database list

Hi, I use this : PHP Code: --         $this->load->dbutil();         $dbs = $this->dbutil->list_databases();         foreach ($dbs as $db)         {             if ($this->dbutil->databas...
2,365 Views
2 Replies
10-30-2019, 04:47 AM
Cognie
    Thread: hook doesn't redirect me
Post: RE: hook doesn't redirect me

InsiteFX Wrote: (03-20-2018, 04:18 AM) -- Why not just use a MY_Controller? That's the first Controller loaded after index.php -- I didn't want to work in the core system  :(
4,835 Views
5 Replies
03-20-2018, 04:47 AM
Cognie
    Thread: hook doesn't redirect me
Post: [RESOLVED] RE: hook doesn't redirect me

Hey, I solved my problem (or problems). first (in my case), my hook had to be in'post_controller' and not in'pre_controller'. Then, I miscalled my config items in the case of a hook: $this->ci...
4,835 Views
5 Replies
03-20-2018, 01:16 AM
Cognie
    Thread: hook doesn't redirect me
Post: RE: hook doesn't redirect me

Narf Wrote: (03-19-2018, 08:28 AM) -- Is that code your actual hook? If so, hooks are not controllers. You're not supposed to extend CI_Controller for a hook. Also, `get_instance()` means "get th...
4,835 Views
5 Replies
03-20-2018, 12:32 AM
Cognie
    Thread: hook doesn't redirect me
Post: hook doesn't redirect me

Hi everyone, (Sorry for my english) I try to use hooks... It works but I've a small problem. I said to my hook: IF condition OK -> do... but I would like : IF condition not OK -> continue ...
4,835 Views
5 Replies
03-19-2018, 05:29 AM
Cognie

Theme © iAndrew 2016 - Forum software by © MyBB