Posts by Thiago Maciel • 84 points
15 posts
-
0
votes1
answer49
viewsA: Skip foreach result every two results
Hi, João. What’s up? It seems to me that your doubt is more related to html/css than to php/Standard. Anyway, for your question, imagining that you expect to receive the values always in the same…
-
2
votes1
answer442
viewsA: Axios or Ajax in Vue.js to perform requests to the server How can I api?
The acronym Ajax in Portuguese means Javascript and Asynchronous XML. In short, it handles http requests without the need for refresh. In other words any application that uses AJAX can send and…
-
0
votes1
answer136
viewsA: How to configure the pdo_mysql driver in Laravel 6
Good afternoon, Bruno! All right? I use Pdo in one of my projects and did not need to make this configuration in the database.php This configuration should probably be done in apache. You even…
-
1
votes0
answers45
viewsQ: Application PHP setar client printer?
Good morning! I am about to start a new PHP project and soon in the requirements document, I saw that one of the steps of a cycle of activities is to set the printer to which the client (mobile…
-
2
votes1
answer42
viewsQ: Windows server configuration (wamp) for different applications with subdomains
I am developing PHP/Laravel applications and need to configure a local server to access different directories from the same domain, as in the examples below: domain.com/application01 --> Access…
-
0
votes2
answers228
viewsA: Two tables without relationship filter - Laravel
I managed to solve it. It was a lot of work because I thought of several possibilities, but then I saw that it was simple. Just query the tool table with the input data and store it in a variable,…
-
-1
votes2
answers228
viewsQ: Two tables without relationship filter - Laravel
I’m having trouble filtering with two different models. The problem is that there is no relationship between the tables. That’s right =/ The modeling was done by someone else, who said that it would…
-
0
votes1
answer191
viewsA: Pagination with filter - Laravel
I’m sorry, you guys! Shortly after publishing, I realized what the problem is. Just for the record: First use get instead of pos in the search form; <div class="card-body"> <form…
-
-1
votes1
answer191
viewsQ: Pagination with filter - Laravel
I’m having trouble paging using filters. Simple paging works normally, but when filter and advance to a next page, I lose filters. I had never used filters, if it is not running in the best way, I…
-
0
votes2
answers67
viewsA: How to format date field in datatables?
Possibly your date-time output is coming in textual format. To solve this you can use strtotime(), which receives a textual date-time and converts to date-time Unix and function date(), which allows…
laravelanswered Thiago Maciel 84 -
0
votes0
answers131
viewsQ: Update record with image - Laravel
Good afternoon! I have a problem with the controller update method. By invoking the update, instead of updating the record, the log is creating a new one. This way I get two similar records.…
-
0
votes2
answers1940
viewsA: Deploy Laravel application
Maybe I didn’t explain it very well. What I wanted to do was keep an existing project in my directory and create a subdirectory like pinheiro.com.br/admin with my Laravel project. I couldn’t set it…
-
0
votes2
answers1940
viewsQ: Deploy Laravel application
I’m having trouble getting my application up to production environment. I tried several times as I find in step by step and documentation, but the error persists. Current scenario: I moved the…
-
1
votes3
answers100
viewsQ: Deployment of GIT
I work in a site factory and among the actions of this semester is the deployment of GIT. Today we work as follows: We request a server, install Joomla and develop the sites in type approval…
-
0
votes2
answers56
viewsQ: Same header and footer for multiple sites
Good afternoon! I work in a company that manages several websites (joomla - on different servers). All with the same header and footer. From time to time, we need to change all the headers and…