Posts by marcos vinicius Mulinari • 24 points
7 posts
-
0
votes0
answers28
viewsQ: What is the difference between $this->loadView() and $this->load->view() in codeigniter?
I’m refactoring a code, I saw that the previous programmer wrote $this->loadView(), I’ve always used $this->load->view() since I learned Codeigniter. And I found that the behavior is the…
-
0
votes1
answer245
viewsA: How to redirect Subdominio to specific folder from using . htaccess
I got Galera, with this great article here: https://www.it-swarm.dev/pt/php/crie-subdominios-em-tempo-real-com-o-.htaccess-php/957812701/ http://www.webmasterworld.com/Apache/3163397.htm using it in…
-
0
votes1
answer245
viewsQ: How to redirect Subdominio to specific folder from using . htaccess
I created the subdomains using wildcard I would like to understand how I can solve the following problem with . htaccess: usuario.site.com.br -> (Aponta para pasta Usuário) fulano.site.com.br…
-
0
votes2
answers91
viewsA: How to sort the date in php
So friendly: echo date('d-m-Y', strtotime($sql_listar)); Study date() for other parameters. And strtotime() also.
-
0
votes1
answer32
viewsA: how to have a variable take a value from one page and move to another
can do by creating a "GET Receiver" on and perform an Insert function on the database. I will demonstrate the logic and you implement according to your scenario! First, let’s imagine that below is…
-
0
votes1
answer29
viewsA: Link to modal window crashes when browsing paging in a Codeigniter application
The problem as far as I know is not in the pagination, but how is calling your modal. He must have a [id] and a [data-target="#modal_confirmation"] dynamic. For example, I put as the…
-
0
votes1
answer86
viewsA: How to skip line after comma of a variable stored in the Mysql database
**$array** = explode(',' ,$poema ) That’s the logic you must follow. Study about the function explode() It certainly solves your problem, only need to then create a foreach or some loop to print…