Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: What is the correct way to load data from a databse once for use everywhere?
Post: RE: What is the correct way to load data from a da...

There could be multiple different ways to do this. Cache You can  fetch the required data and store it in cache (say in your BaseController) and give it a reasonable expiration time. This would h...
2,753 Views
6 Replies
02-11-2023, 02:22 PM
qury
    Thread: Insert Data to MSSQL Database
Post: RE: Insert Data to MSSQL Database

have you tried using $this->db->insert_id() instead of trying to get the id using SCOPE_IDENTITY()?
4,903 Views
5 Replies
07-08-2021, 02:14 AM
qury
    Thread: Comment request on NoSQL emulation
Post: RE: Comment request on NoSQL emulation

if you are looking for some feedback then please share the URL as well :)
2,776 Views
1 Replies
10-21-2020, 03:15 AM
qury
    Thread: trying to use batch_update()
Post: RE: trying to use batch_update()

You should index email and campaign fields in the employees table. Also what kind of database?
8,355 Views
11 Replies
07-29-2020, 01:22 AM
qury
    Thread: ionAuth controller and view overwrite
Post: RE: ionAuth controller and view overwrite

Have you checked the directory and file names? Linux systems are case sensitive, so if you have a discrepancy between upper and lowercase file or directory names that could thrown the whole thing off....
5,356 Views
6 Replies
07-22-2020, 06:41 AM
qury
    Thread: Creating Queue and Worker in Codeigniter 3
Post: RE: Creating Queue and Worker in Codeigniter 3

Is there a reason you want to do this with codeigniter? If i understand you correctly you just need to execute a sql statement (get a batch of data from your database) and insert it into another data...
9,161 Views
3 Replies
07-14-2020, 07:43 AM
qury
    Thread: codegneiter serach filter and resullts
Post: RE: codegneiter serach filter and resullts

Hi, The relevant guide for CI4 is here: http://codeigniter.com/user_guide/libraries/validation.html The same for CI3 is here: http://codeigniter.com/userguide3/libraries/form_validation.html Wh...
1,222 Views
1 Replies
07-13-2020, 04:15 AM
qury
    Thread: Can a text editor be integrated into the CodeIgniter Libraries?
Post: RE: Can a text editor be integrated into the CodeI...

you could implement a WYSIWYG editor for your users like summernote, ckeditor, etc in that case your users would generate html code for you. Also you could save their input in a database (even sqli...
11,887 Views
12 Replies
12-09-2019, 10:14 AM
qury
    Thread: Can a text editor be integrated into the CodeIgniter Libraries?
Post: RE: Can a text editor be integrated into the CodeI...

Hi, Can you please explain what your software does? To me it sounds like you have text files that are updated independently to your php program and you want to parse them and display the text in the...
11,887 Views
12 Replies
12-09-2019, 02:22 AM
qury
    Thread: How often do you use the backup() method of the database drivers?
Post: RE: How often do you use the backup() method of th...

Drop it! I've looked at the code and basically it just generates and bunch of insert statements for each table. I think if somebody needs this feature and does not have access to run cron jobs and...
71,796 Views
39 Replies
02-13-2019, 03:38 AM
qury
    Thread: Update form data into database
Post: RE: Update form data into database

Sovani Shreeniwas Wrote: (01-10-2019, 04:09 AM) -- Thanks for the valuable inputs from you. Actually I have many fields & need repeatedly, request you to suggest what code is needed in controller & w...
4,413 Views
3 Replies
01-10-2019, 05:58 AM
qury
    Thread: Axios POST requests and Ci security class
Post: RE: Axios POST requests and Ci security class

Hi instead of sending "raw" json data, send formData I had the same problem initially. var formdata = new formData (); formdata.append('key','value'); then send formdata with axios you will b...
6,169 Views
3 Replies
12-18-2018, 10:19 AM
qury
    Thread: Session Data vs. Config Variables
Post: RE: Session Data vs. Config Variables

can you please describe the real world scenario so we can better imagine what you try to accomplish? You mentioned that the "the entries depend upon content being present" Does it mean you just ha...
12,968 Views
14 Replies
11-08-2018, 02:40 AM
qury
    Thread: SAML - simplesamlphp
Post: RE: SAML - simplesamlphp

Hi All, I've finally cracked this :) If you find yourself in a situation where you want to integrate saml based SSO with your CI app then read on.. The key to success was to NOT use the phpsessi...
9,972 Views
1 Replies
11-05-2018, 10:59 AM
qury
    Thread: SAML - simplesamlphp
Post: SAML - simplesamlphp

Hi, Does anybody have experience integrating Codeigniter 3.x with a simplesamlphp ? My issue is the following: i've set up simplesamlphp as an IDP on my machine in a virtual host - this works f...
9,972 Views
1 Replies
11-02-2018, 05:31 PM
qury
    Thread: Unable to connect to your database server using the provided settings
Post: RE: Unable to connect to your database server usin...

Hi, This is the section from config/database.php of a project that is using sqlsrv driver. PHP Code: -- $db['mssql'] = array(    'dsn'          => '',    'hostname'     => 'hostname',    ...
23,797 Views
3 Replies
10-05-2018, 04:39 AM
qury
    Thread: enable/disable submit button based on my row table value
Post: RE: enable/disable submit button based on my row t...

If i were you, i would definitely handle this in the function that is drawing the table. Something like this: PHP Code: --                                                          ...
7,538 Views
2 Replies
10-05-2018, 04:32 AM
qury
    Thread: how to add onclick event in anchor button?
Post: RE: how to add onclick event in anchor button?

kvanaraj Wrote: (10-05-2018, 04:09 AM) -- first see my post. i am not asking in normal . my doubt is doing in anchor function . -- How about re-formatting your anchor like this? PHP Code: --  
13,386 Views
6 Replies
10-05-2018, 04:18 AM
qury
    Thread: Ajax with CSRF causing a Double Post to controller
Post: RE: Ajax with CSRF causing a Double Post to contro...

HI, I've run into similar issues myself in the past and the solution for me was to use  event.stopImmediatePropagation() function Here is the link to this function: https://developer.mozilla.org/en-...
9,606 Views
5 Replies
10-03-2018, 02:37 AM
qury
    Thread: recommend an IDE?
Post: RE: recommend an IDE?

I'm using Netbeans (https://netbeans.apache.org/download/index.html) You need to do the following to set this up for PHP development In Tools -> Plugins > Settings you need to add the plugin cat...
4,165 Views
3 Replies
10-02-2018, 06:58 AM
qury

Theme © iAndrew 2016 - Forum software by © MyBB