Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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...
1,448 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.
1,448 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...
1,448 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(); --
1,448 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...
608 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.
1,222 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...
777 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'     );      ...
543 Views
5 Replies
12-20-2021, 02:50 PM
wdeda
    Thread: Codeigniter and phpstorm and github
Post: RE: Codeigniter and phpstorm and github

From June 2020: GitHub is working on replacing the term "master" on its service with a neutral term like "main" to avoid any unnecessary references to slavery, you can read here for more background...
2,848 Views
10 Replies
10-24-2021, 07:20 PM
wdeda
    Thread: Codeigniter and phpstorm and github
Post: RE: Codeigniter and phpstorm and github

I don't know phpstorm, I use VSCode, but I don't believe that it hinders our understanding. It is a single server, Apache, with one or more virtual servers. You will then have a production server, lo...
2,848 Views
10 Replies
10-24-2021, 02:26 PM
wdeda
    Thread: Codeigniter and phpstorm and github
Post: RE: Codeigniter and phpstorm and github

You can use Apache's vhost to do this. A production site and a development site and both, if you like, can be on Github. You can install, just as an example, different versions of frameworks, etc. Ac...
2,848 Views
10 Replies
10-23-2021, 02:02 PM
wdeda
    Thread: PHP 8.0.12 Released
Post: RE: PHP 8.0.12 Released

It's buggy, I downgraded.
1,046 Views
1 Replies
10-21-2021, 04:16 PM
wdeda
    Thread: WHERE-LIKE and problem for build search-engin in western movie web app
Post: RE: WHERE-LIKE and problem for build search-engin ...

I have a movie catalog and I believe I can help you, but I use CI4. As I only use queries, I believe it is possible for you to adapt them to CI3. The method of sending the search argument I still use...
1,419 Views
4 Replies
10-16-2021, 08:53 AM
wdeda
    Thread: Visual Studio Code cannot detect CI4 functions
Post: RE: Visual Studio Code cannot detect CI4 functions

PHP Intellisense for CodeIgniter developer has an alert on the extension page in VS Code: This extension is developed for codeigniter framework 3.X (Don't support CI 4.X).
1,815 Views
3 Replies
10-08-2021, 08:48 AM
wdeda
    Thread: Install Wordpress inside CI4 project
Post: RE: Install Wordpress inside CI4 project

You're welcome! By the way, let me share with you some experiences from when I had the blog alongside the site. Still on CI3 I created a section on the website's home page where blog updates cou...
890 Views
3 Replies
10-07-2021, 05:37 AM
wdeda
    Thread: Install Wordpress inside CI4 project
Post: RE: Install Wordpress inside CI4 project

I don't believe my case is the ideal one to answer your question, I have a private site, only local, but except for the rules for using a remote server, especially the server security, of course, it's...
890 Views
3 Replies
10-06-2021, 09:50 AM
wdeda
    Thread: Routing Cleanup Tool
Post: RE: Routing Cleanup Tool

Honestly, I've never heard anyone say that xampp or CodeIgniter ruined anything. xampp is the kind of software that you install, configure and... forget it! Theoretically, everything you do in Larag...
1,718 Views
3 Replies
10-05-2021, 07:25 PM
wdeda
    Thread: How to make pagination for search results
Post: RE: How to make pagination for search results

I think I didn't know how to explain myself clearly, I'll try one more time: In my example of Model there is a function that is not used, getName, this was intentional, to indicate that the Model can...
1,247 Views
9 Replies
09-30-2021, 05:15 AM
wdeda
    Thread: How to make pagination for search results
Post: RE: How to make pagination for search results

Below, a basic and small example of pagination, not considering the arguments and type of query used. Model: PHP Code: --
1,247 Views
9 Replies
09-29-2021, 02:02 PM
wdeda
    Thread: CodeIgniter 4 Model - One to Many - how to?
Post: RE: CodeIgniter 4 Model - One to Many - how to?

I don't know if you've already done it, but let me suggest you take a look at data modeling, most of the time it can come up with solutions to your questions.
1,628 Views
4 Replies
09-28-2021, 02:51 AM
wdeda

Theme © iAndrew 2016 - Forum software by © MyBB