CodeIgniter Forums
CodeIgniter 4 Playground - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: News & Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=2)
+--- Thread: CodeIgniter 4 Playground (/showthread.php?tid=74919)

Pages: 1 2 3 4 5 6 7 8


RE: CodeIgniter 4 Playground - manishareddy333 - 02-12-2020

Good idea! We need a lot of resources like this


RE: CodeIgniter 4 Playground - manishareddy333 - 02-12-2020

Thanks for sharing!


RE: CodeIgniter 4 Playground - manishareddy333 - 03-12-2020

Thanks for sharing! This is exactly what I need.


RE: CodeIgniter 4 Playground - Daniel Dan - 12-03-2020

It is a great idea to create a playground to learn serious things! Thanks!


RE: CodeIgniter 4 Playground - edsweng - 12-08-2020

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.


RE: CodeIgniter 4 Playground - edsweng - 12-08-2020

(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.


RE: CodeIgniter 4 Playground - Mobile_Dev - 06-15-2021

Great helper for newbies. Will test out App ideas!


RE: CodeIgniter 4 Playground - kenjis - 10-27-2023

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


RE: CodeIgniter 4 Playground - ozornick - 10-27-2023

Perhaps you need to change "echo view()" to "return"


RE: CodeIgniter 4 Playground - kenjis - 10-27-2023

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

Ah, this controller returns string.
https://github.com/codeigniter4projects/playground/blob/develop/app/Controllers/Home.php