Posts by Vitor de Sousa • 135 points
4 posts
-
3
votes2
answers48
viewsQ: Insert WHERE into query giving error
I have this query here that is pulling right. However, now I want to put those who have the registration only within the current month (for example September). My created_at is datetime. I’m…
-
0
votes3
answers145
viewsA: Error in simple search in Laravel
Try to use: $clientes = DB::table('clientes')->where('clientes.razao_social', $palavraChave)->first(); and then give dd() right down on $clientes: dd($clientes); and see what comes back to…
-
2
votes1
answer414
viewsQ: Wrong paging on Codeigniter
I have 15 Ads on my website and I have made pagination for 10 Ads per page. Okay, Codeigniter is paging with 10 Ads/Page, but on the second and last page Codeigniter is showing 10, when it should…
-
8
votes1
answer391
viewsQ: Update field in multiple columns
I have a list of categories and I would like to sort them all at once, so I created a "sort" field where I can put the order number I want [1] and so by pressing to save [2] as the image:…