Posts by Plinio Fabrycio • 71 points
11 posts
-
0
votes2
answers30
viewsQ: Get default response if it does not exist in Laravel’s Wherein
I’m searching a series of items in a DB using Laravel through the function whereIn(). When returning, it presents a Collection with the information found, the problem happens when it does not find…
-
3
votes0
answers28
viewsQ: What it means to declare const {service} in Javascript, NODE.js
When I started studying Node.JS I came across the following code snippet: Example with services that shows middleware Factory Advantages. ... const {service} = options; router.get('/greet', (req,…
-
0
votes0
answers18
viewsQ: Collapsibles do not work
I’m wearing a framework called SBAdmin, which is nothing more than Bootstrap 4. But by creating the same collapsible that FW provides as an example it does not work in certain cases, The error is in…
-
0
votes0
answers34
viewsQ: Empty Line Problem - Laravel
I have a problem, I have a few months of experience in Laravel and I did not see this kind of problem happen, when submitting a form appears the following error: Error Exception Trying to get…
-
0
votes1
answer47
viewsA: How to change the CSS in this case?
What you should do is create a javascript function where it changes the class of page tags when the button is clicked onclick="function_name()" the basic function to change is as follows: var…
-
0
votes1
answer842
viewsQ: Mysql - How to make a Stored Process be activated once a day?
I need a Stored Procedure to be called every day at 11:59 pm but I’ve tried a few ways and when it arrives at that time it doesn’t perform! CREATE EVENT `ATUALIZARDADOS` ON SCHEDULE EVERY 1 DAY…
-
1
votes1
answer65
viewsQ: Mysql Error - Stored Procedures
I am creating this process to run once a day, as I have no experience, I got an error in the code below: CREATE (definer omitido) PROCEDURE `MULTAOFF`() BEGIN set @multado = (select `CPFAluno` from…
-
0
votes5
answers47771
viewsA: Centralize a table (HTML)
Use the following class as a parent class for anything you want to center on the screen. .poscentralized{ -webkit-display: flex; display: flex; -webkit-align-items: center; align-items: center;…
-
0
votes4
answers320
viewsQ: How to load a project in Laravel in an old version?
I have a project done in Laravel Framework 5.4 and recently Laravel made an update to 5.5, when passing my project to another computer, Laravel 5.5 was installed in this PC, now I can not work in…
-
0
votes0
answers90
viewsQ: How do I record the data from a form in the database in Laravel 5.4?
I have a small problem in the production of a registration system, everything is working fine, but when I check the database no data submitted in the form appears, ie is not registered. Class in the…
-
1
votes3
answers2508
viewsA: How to take a variable that is in the controller and put inside a view (Adjustable)
There is a request that Laravel makes called CSRF, a token to ensure data security. In your view this is missing as your form’s first input: <form> <input type="hidden" name="_token"…