Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: validation not working
Post: RE: validation not working

I have been a CodeIgniter user since version 2, I assume, when direct access to databases didn't even exist, and despite all this time I am aware that I am an amateur. There is a proverb that says: "T...
220 Views
5 Replies
09-16-2024, 04:47 AM
wdeda
    Thread: "updated_at" field filled during an insert operation
Post: RE: "updated_at" field filled during an insert ope...

My apologies, I didn't actually read your remark that you use SQLite3. I agree with @InsiteFX, but what you reported is possible to happen in MySql if 'updated_at' is not set properly.
810 Views
9 Replies
07-14-2024, 04:11 AM
wdeda
    Thread: "updated_at" field filled during an insert operation
Post: RE: "updated_at" field filled during an insert ope...

The structure to be used is as follows: type => DATETIME default => null attributes => on update CURRENT_TIMESTAMP
810 Views
9 Replies
07-13-2024, 07:26 PM
wdeda
    Thread: nav dont working properly
Post: RE: nav dont working properly

InsiteFX Wrote: (01-31-2024, 05:38 AM) -- When usiing layouts I take and use the first view called dataview and it just passes all the data first. PHP Code: -- $data = [     'posts'      => $po...
906 Views
3 Replies
02-01-2024, 10:12 AM
wdeda
    Thread: Vscode live server extension
Post: RE: Vscode live server extension

Live server works only with html pages.
1,303 Views
2 Replies
01-08-2024, 05:10 PM
wdeda
    Thread: ERROR: DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci' at line 9
Post: RE: ERROR: DEFAULT CHARACTER SET = utf8mb4 COLLATE...

I believe the following link can help you: https://tecadmin.net/resolved-unknown-collation-utf8mb4_0900_ai_ci/#SnippetTab I also use a language of Latin origin and use the option "utf8mb4.swedish.ci"...
2,464 Views
4 Replies
10-04-2023, 06:15 AM
wdeda
    Thread: PHP 8.2.11. This is a bug fix release.
Post: RE: PHP 8.2.11. This is a bug fix release.

kenjis Wrote: (09-29-2023, 10:18 PM) -- @"wdeda" See https://stackoverflow.com/questions/75509500/codeigniter-4-class-locale-not-found -- Thank you very much for your prompt service, the proble...
1,034 Views
3 Replies
09-30-2023, 02:33 PM
wdeda
    Thread: PHP 8.2.11. This is a bug fix release.
Post: RE: PHP 8.2.11. This is a bug fix release.

I'm using version 4.1.1 and when updating PHP to version 8.2.11 the following error occurred: Class "Locale" not found Locale::setDefault($this->config->defaultLocale ?? 'en'); line 214 of the codeign...
1,034 Views
3 Replies
09-29-2023, 09:08 AM
wdeda
    Thread: Deprecated dynamic properties in PHP 8.2
Post: RE: Deprecated dynamic properties in PHP 8.2

With the release of version 4.4, at least for me, the problem is solved. Obviously, I cannot speak for others also affected.
30,360 Views
18 Replies
08-27-2023, 11:40 AM
wdeda
    Thread: phpmyadmin problem
Post: RE: phpmyadmin problem

Like you, I have a site installed locally that gives a lot of freedom of options, especially in relation to XAMPP. My choice was for a very light installation, that is, I only installed what I really ...
4,491 Views
15 Replies
07-27-2023, 06:43 AM
wdeda
    Thread: Deprecated dynamic properties in PHP 8.2
Post: RE: Deprecated dynamic properties in PHP 8.2

I've been a Codeigniter user since version 2.x, when access to databases was only possible with third-party applications, among other limitations of a newly developed system. I feel privileged to fol...
30,360 Views
18 Replies
07-21-2023, 05:47 AM
wdeda
    Thread: Deprecated dynamic properties in PHP 8.2
Post: RE: Deprecated dynamic properties in PHP 8.2

InsiteFX Wrote: (07-15-2023, 11:08 PM) -- This is not a CodeIgniter problem it is up to the users to fix it. PHP.Watch - PHP 8.2: Dynamic Properties are deprecated (https://php.watch/versions/8.2/...
30,360 Views
18 Replies
07-16-2023, 05:45 AM
wdeda
    Thread: CI3 num_rows on CI4
Post: RE: CI3 num_rows on CI4

I believe it is a matter of semantics. I did the test using a real table, in VScode and using real data and it worked, because the result is displayed, however, as @JustJohnQ said Inteliphense does no...
7,259 Views
17 Replies
04-05-2022, 05:10 AM
wdeda
    Thread: CI3 num_rows on CI4
Post: RE: CI3 num_rows on CI4

I apologize, I didn't notice the lack of parentheses, after the change it worked without problems.
7,259 Views
17 Replies
03-30-2022, 11:58 AM
wdeda
    Thread: CI3 num_rows on CI4
Post: RE: CI3 num_rows on CI4

There is indeed something wrong. After following the instructions in the manual, https://www.codeigniter.com/user_guide/database/results.html, code below, the following error message is sent: "Undefi...
7,259 Views
17 Replies
03-30-2022, 09:31 AM
wdeda
    Thread: CI3 num_rows on CI4
Post: RE: CI3 num_rows on CI4

PHP Code: -- $db = $this->db; // inside a model $db = db_connect(); //out of a model $count = $db->table('your_table'); echo $count->countAllResults(); --
7,259 Views
17 Replies
03-29-2022, 06:09 AM
wdeda
    Thread: Hundreds of GoDaddy-hosted sites backdoored in a single day
Post: RE: Hundreds of GoDaddy-hosted sites backdoored in...

WordPress is the main reason for PHP's success. About 65% of the sites use it, and, probably, due to the ease of use, there is a very large number of users without the minimum security knowledge. We...
2,589 Views
3 Replies
03-17-2022, 05:33 AM
wdeda
    Thread: Pagination - show number results on current page
Post: RE: Pagination - show number results on current pa...

I believe he is wanting something like: "Showing 1 to 10 of xx results" on each page shown. The best example for this is DataTables, I suppose.
6,913 Views
11 Replies
02-05-2022, 07:00 AM
wdeda
    Thread: How to set Date in dd.mm.yyyy format
Post: RE: How to set Date in dd.mm.yyyy format

I have two functions, below, that I use in a help file. They are in Portuguese but it is easy to change to other languages, they are self-explanatory.; In Portuguese we use the preposition 'de' - i...
2,387 Views
1 Replies
02-01-2022, 08:05 AM
wdeda
    Thread: 404
Post: RE: 404

I use, I believe, a very simple solution: PHP Code: -- $routes->set404Override(function() {     $header = array(     'css' => 'nodata',     'title' => 'wdeda | Page Not Found'     );      ...
2,602 Views
5 Replies
12-20-2021, 02:50 PM
wdeda

Theme © iAndrew 2016 - Forum software by © MyBB