Posts by Guilherme De Paula • 24 points
3 posts
-
0
votes2
answers55
viewsA: How do I add a prefix before my table in php?
You can use substr([string], [começa_na_posição], [vai_ate]), for example: if (substr($table, 0, 2) === ', ') {
phpanswered Guilherme De Paula 24 -
-1
votes1
answer60
viewsA: View array data
Just access the zero position of the array and the attribute. $var[0]->Postage;
-
0
votes1
answer492
viewsA: Laravel Dynamic Route
I don’t know exactly what you want to do with this code. I think it will be better if you do separate routes. Depending on what you want to do it would be easier until you create a Factory with this…