retrieving data from a database and re-retrieving from another database |
@Secux ,
(Using a join can be used in the Model) You can do what @nfaiz suggested by creating a more complex query. (Use this link https://codeigniter.com/user_guide/datab...cific-data. Then scroll up looking for $builder->join() ) OR You could create a view in the database that joins both tables then in CI call the database view with your parameters. |
Messages In This Thread |
retrieving data from a database and re-retrieving from another database - by Secux - 10-24-2021, 12:19 PM
RE: retrieving data from a database and re-retrieving from another database - by Secux - 10-25-2021, 06:21 AM
RE: retrieving data from a database and re-retrieving from another database - by nfaiz - 10-25-2021, 07:26 AM
RE: retrieving data from a database and re-retrieving from another database - by Secux - 10-25-2021, 07:28 AM
RE: retrieving data from a database and re-retrieving from another database - by php_rocs - 10-25-2021, 06:19 PM
RE: retrieving data from a database and re-retrieving from another database - by nfaiz - 10-26-2021, 04:27 AM
RE: retrieving data from a database and re-retrieving from another database - by php_rocs - 10-26-2021, 05:33 AM
RE: retrieving data from a database and re-retrieving from another database - by Secux - 10-27-2021, 12:23 PM
|