Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: clear select
Post: RE: clear select

would this not clear the whole query though rather than just the select element ?
139 Views
3 Replies
01-28-2023, 06:05 AM
futurewebs
    Thread: clear select
Post: clear select

Hi folks, Using CI3 is there a way to clear / flush the select array ? heres a basic example to try and explain better PHP Code: -- $this->db->select('user.*'); if ($rs_type == 's...
139 Views
3 Replies
01-28-2023, 04:53 AM
futurewebs
    Thread: CI3 - count_all_results() is slow
Post: RE: CI3 - count_all_results() is slow

Hi, thanks for the reply. The way i have things set up is that the same function can return either the result array or the count depending on what i ask for. The main result with all the details i...
456 Views
2 Replies
06-21-2022, 01:48 AM
futurewebs
    Thread: CI3 - count_all_results() is slow
Post: CI3 - count_all_results() is slow

Im using count_all_results() in CI3 to create the max results for pagination. My main query that has the limits set and returns the full result is very quick and optimised / indexed etc The issue is...
456 Views
2 Replies
06-20-2022, 10:25 AM
futurewebs
    Thread: How To Optimise Controller Execution Time
Post: How To Optimise Controller Execution Time

Hi All, Im trying to improve performance of an ap I created and at the moment looking into how best to improve Controller Execution Time. I know the first thing would be to make sure Im not auto loa...
1,624 Views
3 Replies
06-20-2022, 07:29 AM
futurewebs
    Thread: CodeIgniter 4.0 is here!
Post: RE: CodeIgniter 4.0 is here!

A huge well done to everyone who made this happen !!
177,286 Views
132 Replies
02-24-2020, 03:06 AM
futurewebs
    Thread: Zip library "Allowed memory size"
Post: RE: Zip library "Allowed memory size"

In my test, it worked well as long as you are not trying to create a huge zip. In that case, yes, the browser is going to jam while its waiting for it to complete. You could create a table where you a...
6,398 Views
9 Replies
01-22-2020, 01:49 AM
futurewebs
    Thread: Zip library "Allowed memory size"
Post: RE: Zip library "Allowed memory size"

just create your own function to add them to a zip file one by one rather than having CI do the whole thing in one pass https://www.php.net/manual/en/class.ziparchive.php (https://www.php.net/manua...
6,398 Views
9 Replies
01-20-2020, 02:00 AM
futurewebs
    Thread: CodeIgniter 3.1.8 Released
Post: RE: CodeIgniter 3.1.8 Released

yeh its not in the std download from homepage. I downloaded this morning
75,831 Views
40 Replies
04-16-2018, 07:03 AM
futurewebs
    Thread: CodeIgniter 3.1.8 Released
Post: RE: CodeIgniter 3.1.8 Released

the update to auto_link() does not seem to be included in the 3.1.8 download https://github.com/bcit-ci/CodeIgniter/commit/459eaa897191cceb674820a6a9e2630f7ca1350f#diff-3783be83c2aaaafa544708ab01e0...
75,831 Views
40 Replies
04-16-2018, 03:06 AM
futurewebs
    Thread: CodeIgniter 3.1.8 Released
Post: RE: CodeIgniter 3.1.8 Released

good work. just a quick heads up. the changelog and upgrade notes are not yet available at those links provided
75,831 Views
40 Replies
03-22-2018, 11:08 AM
futurewebs
    Thread: [Resolved] Inappropriate users
Post: RE: Inappropriate users

this is exactly what i do. there are plenty of lists of temp / spam addresses out there
27,404 Views
14 Replies
01-17-2018, 05:10 AM
futurewebs
    Thread: Performance hit with limit query on large dataset
Post: RE: Performance hit with limit query on large data...

Not having much luck with this. maybe Im tackling this from the wrong angle. The problems are due using limit and order by on a large table. say 100,000 rows. if I want to show 25 per page then the...
7,630 Views
6 Replies
10-21-2015, 12:40 PM
futurewebs
    Thread: Performance hit with limit query on large dataset
Post: RE: Performance hit with limit query on large data...

thanks for the replies guys, the code I provided is not my actual code but a representation of what im doing. Ive edited my post to include the order direction. @skunkbad, I know about this->db->qu...
7,630 Views
6 Replies
10-21-2015, 11:48 AM
futurewebs
    Thread: Performance hit with limit query on large dataset
Post: Performance hit with limit query on large dataset

Hi, Ive been working on optimizing queries today and found a number of slow queries when fetching paged results from tables with lots of rows. Ive found a way to vastly improve things but Im having p...
7,630 Views
6 Replies
10-21-2015, 07:53 AM
futurewebs
    Thread: Archived Forums from EllisLabs
Post: RE: Archived Forums from EllisLabs

it could be a simple opt in. I know I would be more then happy for my stuff to be back in my own profile and im sure there are plenty of others who feel the same
15,589 Views
4 Replies
04-03-2015, 02:29 AM
futurewebs
    Thread: Archived Forums from EllisLabs
Post: RE: Archived Forums from EllisLabs

it would be great to be able to reunite archived threads with the users who made them. I guess most people would be using the same email address
15,589 Views
4 Replies
04-03-2015, 12:59 AM
futurewebs
    Thread: CodeIgniter 3.0
Post: RE: CodeIgniter 3.0

Well done to all those who had a hand in getting CI to 3.0 :-)
234,093 Views
0 Replies
03-31-2015, 08:50 AM
futurewebs
    Thread: Parse error including vendor/autoload.php
Post: RE: Parse error including vendor/autoload.php

Sorry, just noticed you said 2.2.1 if this was a 3 version then remove the line of code you added to index.php and then simply set the flag in config.php to TRUE or the path of your vendor folder. I...
13,833 Views
8 Replies
03-30-2015, 12:32 AM
futurewebs
    Thread: CI3 - Are old sessions in file auto deleted from server
Post: RE: CI3 - Are old sessions in file auto deleted fr...

i managed to track it down in the code. makes sense now. Thanks again for your help, very much apreciated
10,743 Views
0 Replies
02-20-2015, 08:17 AM
futurewebs

Theme © iAndrew 2016 - Forum software by © MyBB