Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter v4.1.2 released
Post: RE: CodeIgniter v4.1.2 released

Thanks all Devs!
2,491 Views
22 Replies
05-18-2021, 05:59 AM
muuucho
    Thread: How to use filter variables in the controller and / or base controller.
Post: RE: How to use filter variables in the controller ...

0x0undefined Wrote: (03-07-2021, 11:22 AM) -- As i said i want to use variable (it can be boolean) from filter inside controller to display it inside view. -- What did you say?
474 Views
2 Replies
03-09-2021, 02:38 PM
muuucho
    Thread: Performance boost CI3
Post: RE: Performance boost CI3

php_rocs Wrote: (03-09-2021, 09:53 AM) -- @muuucho, I'm glad the suggestion worked for you. How much faster did the change make it? -- Well, I did some other small improvements at the same time an...
2,476 Views
13 Replies
03-09-2021, 02:31 PM
muuucho
    Thread: Performance boost CI3
Post: RE: Performance boost CI3

iRedds Wrote: (03-06-2021, 12:32 PM) -- Be careful. The proposed option can play a cruel joke with you. This request can be written as Code: -- SELECT * FROM table WHERE (id = 1 AND (d = 2...
2,476 Views
13 Replies
03-07-2021, 04:11 AM
muuucho
    Thread: Performance boost CI3
Post: RE: Performance boost CI3

php_rocs Wrote: (03-04-2021, 08:15 AM) -- @muuucho, If the queries are executing that fast then my next approach would be to see if we can build the query differently so that it gets all the data ...
2,476 Views
13 Replies
03-06-2021, 09:29 AM
muuucho
    Thread: Performance boost CI3
Post: RE: Performance boost CI3

php_rocs Wrote: (03-03-2021, 02:46 PM) -- @muuucho, Can you run the profiler (https://codeigniter.com/userguide3/general/profiling.html) on the page where the query runs?  It will give us a lot of...
2,476 Views
13 Replies
03-03-2021, 03:26 PM
muuucho
    Thread: Performance boost CI3
Post: RE: Performance boost CI3

InsiteFX Wrote: (03-03-2021, 12:37 PM) -- Why don't you get the query all at once and then do what you need to in the foreach loop? PHP Code: -- if ($query->num_rows() > 0) {     foreach ($quer...
2,476 Views
13 Replies
03-03-2021, 12:46 PM
muuucho
    Thread: Performance boost CI3
Post: RE: Performance boost CI3

php_rocs Wrote: (03-03-2021, 08:55 AM) -- @muuucho, I would definitely look at your queries (especially the one that takes several minutes).  Do you know how fast all of your queries are running? ...
2,476 Views
13 Replies
03-03-2021, 11:49 AM
muuucho
    Thread: Performance boost CI3
Post: Performance boost CI3

I have a script that has loops an array 1000s of times and in each loop runs 4 select queries. It takes one to several minutes to execute. I need more speed. I tried to "prepare" the queries before t...
2,476 Views
13 Replies
03-03-2021, 04:49 AM
muuucho
    Thread: Migration or Console?
Post: RE: Migration or Console?

I always start a new project using just PHPMyAdmin. If the project is getting more serious I start using migration and at about the same time I put the project under version control on Github so that ...
879 Views
3 Replies
02-19-2021, 03:56 PM
muuucho
    Thread: CI forum moderators needed - Any volunteers?
Post: RE: CI forum moderators needed - Any volunteers?

How is it going, do we have any moderators? It is still messy in here.   :)
10,742 Views
17 Replies
02-19-2021, 08:59 AM
muuucho
    Thread: Array to string conversion error when sorting array
Post: RE: Array to string conversion error when sorting ...

Or use array_column (https://www.php.net/manual/en/function.array-column.php)
709 Views
3 Replies
11-18-2020, 08:37 AM
muuucho
    Thread: Migrate to a certain file
Post: Migrate to a certain file

Let's say I have 10 migrations files in the folder "App/Database/Migrations and everyone is migrated. Now I like to rollback to the migration nr 7. How can I do that from a controller in CI4? In CI3 ...
539 Views
1 Replies
10-05-2020, 04:34 AM
muuucho
    Thread: display old value in form
Post: RE: display old value in form

Thanks, that works
3,473 Views
2 Replies
09-29-2020, 03:45 AM
muuucho
    Thread: CI forum moderators needed - Any volunteers?
Post: RE: CI forum moderators needed - Any volunteers?

Can someone please create separate forums for CI3 and CI4. Especially the forum "General" need to be separated since users are not specifying "CI3"/"CI4" in header. THANKS!
10,742 Views
17 Replies
08-12-2020, 05:21 AM
muuucho
  Smile Thread: CodeIgniter v4.0.4 released
Post: RE: CodeIgniter v4.0.4 released

And a CRUD tutorial, see my kind request  :)  https://forum.codeigniter.com/thread-77103.html (https://forum.codeigniter.com/thread-77103.html)
40,157 Views
38 Replies
07-27-2020, 12:38 PM
muuucho
    Thread: CRUD, how-to
Post: RE: CRUD, how-to

marcogmonteiro Wrote: (07-20-2020, 12:38 PM) -- That is the most complete one that is out, but I kinda disagree about some stuff he does, that was one of the reasons I decided to start this venture :...
1,785 Views
4 Replies
07-21-2020, 09:29 AM
muuucho
    Thread: CRUD, how-to
Post: RE: CRUD, how-to

I found a series called "Codeigniter 4 from scratch" on youtube. Seams interesting. Maybe someone of the CI4 experts has any comment on this? Is this a good one? Maybe the best out there? https://www...
1,785 Views
4 Replies
07-20-2020, 11:41 AM
muuucho
    Thread: CRUD, how-to
Post: CRUD, how-to

Still, I am missing a more useful CRUD example. I look at the docs, section Build your first application - not complete.  I look at the repo Playground - not complete. I google for tutorials and I sea...
1,785 Views
4 Replies
07-19-2020, 05:39 AM
muuucho
    Thread: Migration problem with Version Control - CI3
Post: Migration problem with Version Control - CI3

Let's say I create branch A locally that contains a migration file that I migrate locally. After that I create branch B locally. It also contains a migration file that I migrate locally. That works fi...
423 Views
0 Replies
06-13-2020, 03:08 AM
muuucho

Theme © iAndrew 2016 - Forum software by © MyBB