CodeIgniter 4 Playground |
It is a great idea to create a playground to learn serious things! Thanks!
Regards,
Daniel Dan YSBM software development company
Hi team, sorry, i might be posting in wrong thread as I just joined.
In CI4, I just want to know the possible way of connecting multiple databases and joining them dynamically. Some possible structure as follow db_main to join with db_of_companyA db_main to join with db_of_companyB The idea is to have separated db set for each company to connect to db_main as main dataset. The DB credentials of each company are in a table in db_main Thanks in advance. (12-08-2020, 12:35 AM)edsweng Wrote: Hi team, sorry, i might be posting in wrong thread as I just joined.Don't mind it. I found the solution. I created my own builder. Thanks.
The playground has been upgraded to CodeIgniter 4.4.3.
https://github.com/codeigniter4projects/playground
Perhaps you need to change "echo view()" to "return"
Returning string or Response is recommended, but echo is still usable.
Ah, this controller returns string. https://github.com/codeigniter4projects/...s/Home.php |
Welcome Guest, Not a member yet? Register Sign In |