Posts by Marcelo Pereira • 31 points
3 posts
-
1
votes3
answers2003
viewsA: What is the correct way to pass two or more parameters on the route?
My friend, the error itself already says "cannot Reference variable name "id" more than Once.". You cannot reference the variable name "id" more than once!
-
1
votes4
answers7452
viewsA: Formatting date with Laravel
the date format of your bank this Y-m-d, which is the default, use function $holidays->data->format(’d/m/Y') in your view.
-
0
votes2
answers60
viewsA: Access direct key
When you make a query it returns an array to you, if you do not pass through a foreach it will not bring the attributes. That in the case Attributes is an index of that array!