Posts by Schielke • 53 points
7 posts
-
0
votes1
answer72
viewsQ: Failed to parse time no eloquent
I have the following code: select('id','title', 'description', 'author', DB::raw("DATE_FORMAT(created_at,'%d/%m/%Y') AS created_at"))->get(); when I run it returns me the following error: erro":…
-
-1
votes1
answer152
viewsQ: How to call a pure java script function when unchecked and marked a checkbox?
How to do this in pure java script? because there is a need to change the values of an input when checkbox is checked and unchecked. I want basically that when checking the checkbox the values add…
-
0
votes3
answers201
viewsQ: Which destructive and non-destructive way to get the last element of an array?
This question came up in a group, but you did not know of such information, you would know the answer?
-
0
votes1
answer151
viewsQ: use redirect to specific page after validation in case of error - Laravel
Well I have the code below Validation: class FormNew extends FormRequest{ public function authorize() { return true; } public function rules() { return [ 'email' => 'required|email', ]; } public…
-
1
votes3
answers39435
viewsQ: how to create a new branch on Github?
I wonder how to create a new branch on Github I already have the master branch created and I didn’t see any "create branch" option, someone can help me?
-
0
votes1
answer136
viewsA: Recover Cpf with database mask
follow as ta in the documentation: put this in your 'head' <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script…
-
1
votes1
answer331
viewsQ: Validate non-mandatory fields using Laravel Validation 5.8
I would like to validate a field and make that field not mandatory. I know that for him to be obligatory I must wear required but I didn’t use it, since I only wanted to validate an email if it was…