For Example I’ve got 2 databases called: Site_X and Site_Y
Site X DB – Has the table Data
Site Y DB – Has the table Data_ids
How can I use kohana to get all the data from Site X DB that has id equal to what I find in Site Y DB.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First define config for both DBs in config/database.php
Then you can do the following (replace site_y, site_x with config names for your databases):