Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Code Igniter

  1. #1
    C.I.A. Platinum Member carmicael's Avatar
    Join Date
    Jul 2007
    Gender
    Male
    Posts
    2,142

    Default Code Igniter


    Kinsa nakabuhat na web-apps ani? Need help...
    Unsaon nako pag-connect ug multiple databases? I've tried following the user guide, but to no avail.
    Or basin naa mo custom library ani na pwede nako magamit?

    Thx..

  2. #2

    Default Re: Code Igniter

    Unsa imo gi mean na pag-connect ug multiple database? sa sql? or sa code? then tingali kinahanglan pud nimo e specify ug unsa na language (C#,C++, ect) or database (like MSSQL or MySQL, ect..)?

  3. #3
    C.I.A. Platinum Member carmicael's Avatar
    Join Date
    Jul 2007
    Gender
    Male
    Posts
    2,142

    Default Re: Code Igniter

    Quote Originally Posted by pokloy
    Unsa imo gi mean na pag-connect ug multiple database? sa sql? or sa code? then tingali kinahanglan pud nimo e specify ug unsa na language (C#,C++, ect) or database (like MSSQL or MySQL, ect..)?
    ani ang pag load sa mga dbase sa CodeIgniter, a framework for PHP. di na kelangan i-specify and dbase or language. maka-connect ko sa db1, pro sa rest dili

    Code:
    $this->CI->load->database('db');
    $this->CI->load->database('db2');
    $this->CI->load->database('db3');
    ....
    $query = $this->CI->db->getwhere($this->user_table);
    $query2 = $this->CI->db2->getwhere($this->user2_table);
    $query3 = $this->CI->db3->getwhere($this->user3_table);

  4. #4

    Default Re: Code Igniter

    sa imo first post wala nimo na mention na u r using PHP.. Kung mao ni wala ko kalibutan ani..
    PHP is a computer language...


  5. #5
    C.I.A. Platinum Member carmicael's Avatar
    Join Date
    Jul 2007
    Gender
    Male
    Posts
    2,142

    Default Re: Code Igniter

    Quote Originally Posted by pokloy
    sa imo first post wala nimo na mention na u r using PHP.. Kung mao ni wala ko kalibutan ani..
    PHP is a computer language...

    sa ako first post, nag mention ko CODE IGNITER, a PHP Framework. Ang CODE IGNITER di na kelangan mangayo ug language. kay PHP man jud na ang iya.

  6. #6

    Default Re: Code Igniter

    Aw Framework diay ning Code Igniter para sa PHP.. hehehe.. abi nako buhaton pani na Framework... Samot wala jud ko kalibutan.. hehehe.. peace Bro..

  7. #7
    C.I.A. Platinum Member carmicael's Avatar
    Join Date
    Jul 2007
    Gender
    Male
    Posts
    2,142

    Default Re: Code Igniter

    aw. i see.

  8. #8
    Because we are poor, shall we be vicious? vern's Avatar
    Join Date
    Feb 2003
    Gender
    Male
    Posts
    5,790

    Default Re: Code Igniter

    I haven't used CI in a while, but in 2006, there was a multiple DB bug and it was still there late 2007.

    http://codeigniter.com/bug_tracker/bug/2703/

    Might want to try this solution ...

    http://koorb.wordpress.com/2007/11/1...ple-databases/

  9. #9

    Default Re: Code Igniter

    I think it will only permit you to access only one(1) database at a certain time.

    Imagine this...... if you use mysql_close() it will close all possible connection.

  10. #10
    C.I.A. Platinum Member carmicael's Avatar
    Join Date
    Jul 2007
    Gender
    Male
    Posts
    2,142

    Default Re: Code Igniter

    Quote Originally Posted by vern
    I haven't used CI in a while, but in 2006, there was a multiple DB bug and it was still there late 2007.

    http://codeigniter.com/bug_tracker/bug/2703/

    Might want to try this solution ...

    http://koorb.wordpress.com/2007/11/1...ple-databases/
    haha... silly me. kalimot ko pwede man diay ko gamit ani. MVC, nya wa ko mu-gamit M(odel). pikat nako. hakhak. tnx. i'll try this one.

    Quote Originally Posted by dodie
    I think it will only permit you to access only one(1) database at a certain time.

    Imagine this...... if you use mysql_close() it will close all possible connection.
    CI could access multiple dbases, just wa ko nag-gamit utok. haha.

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Replies: 11
    Last Post: 04-11-2013, 07:13 PM
  2. Code igniter .. Unsaon?
    By Sorry in forum Programming
    Replies: 14
    Last Post: 11-10-2012, 02:39 PM
  3. tabang sa nakahibaw diha (php code igniter).. :)
    By Sorry in forum Programming
    Replies: 3
    Last Post: 10-29-2010, 07:35 AM
  4. labor code..employee proby status ug regular status
    By zengatsu in forum Politics & Current Events
    Replies: 73
    Last Post: 09-23-2009, 03:09 PM
  5. Dan Brown's The Da Vinci Code
    By JuRa^ in forum Arts & Literature
    Replies: 266
    Last Post: 09-09-2006, 02:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top