Posts by keniaferreira • 59 points
6 posts
-
1
votes2
answers173
viewsQ: Can I use the dd() function in production?
I created a function that is called in another class to perform a task during a request in a Controller of my application. I put a return in that function to interrupt its execution in a specific…
-
0
votes2
answers236
viewsA: Problem To View Data Json View Blade
You solved it for me this way: <div class="container col-sm-9"> @if (!$errors->isEmpty()) <div class="alert alert-danger"> <button type="button" class="close" data-dismiss="alert"…
-
0
votes2
answers236
viewsQ: Problem To View Data Json View Blade
Hello! I’ve tried several times and I’m having difficulty visualizing the data of a Json in a View. I’m passing this data like this in Controller: $validatorES = new EntradaSaidaFormRequest();…
-
0
votes2
answers1881
viewsQ: Laravel - Passing Variable To View - Record Page
I’m using Laravel 5.8 and added an extra field in the user register. I want to insert a form select in this field but, I’m having difficulty. What I thought I could do, was this in the file…
-
3
votes1
answer280
viewsQ: Where x whereRaw What’s the difference?
I tried to read Laravel’s documentation, but I didn’t really understand the difference. I also tried to search for other links but, I usually see topics in forums asking for help on the use and…
-
1
votes1
answer613
viewsQ: preg_replace_callback() to remove characters that are not digits
I use Laravel and am trying to use the function preg_replace_callback() to remove point, comma, hyphen, dash and bar from the CNPJ numbers entered in the system. I used the function…