Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  
    Hi, need help

    My application needs to access tables from external database (not the predefined database at the setup application).
    How to create those kind of model? a model that connect to other database..
    •  
      CommentAuthorbermi
    • CommentTimeJun 27th 2008
     

    You'll need to set the database connection on the model constructor using the

    setConnection(Ak::db('mysqli://user:pass@localhost/database_name'));
    

    method

Add your comments
    Username Password
  • Format comments as