Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4 Playground
#61

Good idea! We need a lot of resources like this
Reply
#62

Thanks for sharing!
Reply
#63

Thanks for sharing! This is exactly what I need.
Reply
#64

It is a great idea to create a playground to learn serious things! Thanks!
Regards,
Daniel Dan
YSBM software development company
Reply
#65

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.
Reply
#66

(12-08-2020, 12:35 AM)edsweng Wrote: 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.
Don't mind it. I found the solution. I created my own builder. Thanks.
Reply
#67

Great helper for newbies. Will test out App ideas!
Reply
#68

The playground has been upgraded to CodeIgniter 4.4.3.
https://github.com/codeigniter4projects/playground
Reply
#69

Perhaps you need to change "echo view()" to "return"
Reply
#70

Returning string or Response is recommended, but echo is still usable.

Ah, this controller returns string.
https://github.com/codeigniter4projects/...s/Home.php
Reply




Theme © iAndrew 2016 - Forum software by © MyBB