Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

kenjis Wrote: (01-07-2023, 01:32 AM) -- Yes, if you add the table property, the database migration also needs to use the values. And of course, if you change the property after initial setup, you al...
1,508 Views
7 Replies
01-09-2023, 09:17 PM
nfaiz
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

datamweb Wrote: (08-02-2022, 06:10 PM) -- Hi, can you explain why two Auth packages should be used simultaneously on the same site? -- My suggestion Create constant for auth tables in Config/Aut...
1,508 Views
7 Replies
01-06-2023, 06:28 AM
nfaiz
    Thread: Transactions with Model
Post: RE: SOLVED Transactions with Model

RedWd Wrote: (11-27-2022, 01:37 AM) -- I found a solution. The code below: Code: -- $UserModel->db->transStart(); $UserModel->save($user); $ProfileModel->save($profile); $UserModel->d...
995 Views
8 Replies
11-27-2022, 08:05 AM
nfaiz
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

Let's say some workplaces have policies and procedures for table names to follow a standard like ISO
1,508 Views
7 Replies
08-07-2022, 07:48 AM
nfaiz
    Thread: crud operations within datatables
Post: RE: crud operations within datatables

Ahmed Haroon Wrote: (06-30-2022, 04:01 AM) -- we are using Pik admin panel, and want to write a page which will contains only Datatable for CRUD operations, please help with a Link to step by step gu...
1,072 Views
9 Replies
07-04-2022, 06:50 PM
nfaiz
    Thread: SHIELD - Table name
Post: SHIELD - Table name

Perhaps Shield table name has been used for other project. Suggestion: Make the table name customizable like CodeIgniter Settings or Ion Auth
1,508 Views
7 Replies
06-30-2022, 07:17 PM
nfaiz
    Thread: How get null result if not found in Mysql
Post: RE: How get null result if not found in Mysql

SELECT * FROM tbl_order WHERE DATE(order_date) IN ('2021-01-01','2021-01-02','2021-01-03','2021-01-04','2021-01-05') OR order_date IS NULL GROUP BY DATE(order_date)
1,452 Views
6 Replies
01-13-2022, 02:01 AM
nfaiz
    Thread: Codeigniter 4 and Inertia JS
Post: RE: Codeigniter 4 and Inertia JS

No package release. Use dev-master or dev-main Code: -- composer require amirami/inertia-codeigniter-4:dev-master --
2,515 Views
1 Replies
11-22-2021, 09:16 AM
nfaiz
    Thread: mpdf class not fount error CI 4.1.5
Post: RE: mpdf class not fount error CI 4.1.5

Are you sure the installation is in ci4-mpdf directory?
4,119 Views
10 Replies
11-21-2021, 04:18 AM
nfaiz
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

Please avoid N+1 query (unless you have a different DBGroup connection)
1,652 Views
7 Replies
10-26-2021, 04:27 AM
nfaiz
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

Join table using SQL?
1,652 Views
7 Replies
10-25-2021, 07:26 AM
nfaiz
    Thread: insert/update null instead of blank (spaces) in ci4
Post: RE: insert/update null instead of blank (spaces) i...

Halim Wrote: (10-24-2021, 06:10 PM) -- Is there a better way to clean up the data before insert/update, what I mean by clean up is: if the posted value is blank (or composed of many spaces) then inse...
1,762 Views
1 Replies
10-25-2021, 05:56 AM
nfaiz
    Thread: How to activate debugging role wise?
Post: RE: How to activate debugging role wise?

sr13579 Wrote: (10-16-2021, 04:47 PM) -- For a live project how can I hide debugging feature for normal user? I just want to show it only for developers. Please give me a solution. -- app/Config...
1,168 Views
4 Replies
10-16-2021, 11:44 PM
nfaiz
    Thread: How to debug ajax requests?
Post: RE: How to debug ajax requests?

DrSiemer Wrote: (10-06-2021, 07:22 AM) -- Hi! New CI user here. Pretty happy with it so far, but the things that puzzles me is debugging failed ajax requests. So far I've been able to figure out w...
2,808 Views
4 Replies
10-09-2021, 08:55 PM
nfaiz
    Thread: convert sql
Post: RE: convert sql

Tajar_Dobro Wrote: (09-20-2021, 04:19 AM) -- Hi guys how can I convert the value of integer to text, example if it is 0 to display not paid and 1 to display paid On model //get chart public functi...
3,526 Views
5 Replies
09-20-2021, 05:44 AM
nfaiz
    Thread: Removing session data too quickly after updating to CI 4.1.3
Post: RE: Removing session data too quickly after updati...

ciddict Wrote: (09-04-2021, 09:15 PM) -- Can you please let me know where should I check? -- This (https://www.codeigniter.com/user_guide/libraries/sessions.html#session-preferences)?
1,804 Views
8 Replies
09-05-2021, 01:45 AM
nfaiz
    Thread: Unique customer
Post: RE: Unique customer

BFlokstra Wrote: (08-27-2021, 01:21 AM) -- I’m facing a small problem and hope CodeIgniter 4 has some build in way to handle this. I’m more then willing to write something myself, but rather use some...
984 Views
3 Replies
08-27-2021, 05:00 AM
nfaiz
    Thread: Ci4 orderBy Float Value
Post: RE: Ci4 orderBy Float Value

hieuhiti Wrote: (08-22-2021, 07:27 AM) -- Hi All, I have a little problem with sort values (Float type) from database mysql. I use -> orderBy("FieldFloat","desc"),  But incorrect result, Please helpm...
1,295 Views
4 Replies
08-22-2021, 08:26 PM
nfaiz
    Thread: JS and CSS URL change
Post: RE: JS and CSS URL change

eddoh Wrote: (08-21-2021, 03:37 AM) -- Hello, I have a problem with a methohe from a controller. Indeed, when I call it the js and css loading path changes and they fail to load. correct path :...
727 Views
1 Replies
08-22-2021, 12:05 AM
nfaiz
    Thread: updated_at is not updating
Post: RE: updated_at is not updating

nneves Wrote: (08-18-2021, 04:50 PM) -- Hi In my model I have this settings and when I insert a record, both created_at and updated_at are updated Code: -- protected $table = 'strings'; prote...
4,451 Views
11 Replies
08-19-2021, 04:59 AM
nfaiz

Theme © iAndrew 2016 - Forum software by © MyBB