Posts by Bruno César • 129 points
6 posts
-
2
votes3
answers1235
viewsQ: Calculate Interval of Hours
I need to calculate the minutes between two dates. My problem is to calculate when a day goes by. Example: Primeira Data -> 2016-11-18 15:20:00; Segunda Data -> 2016-11-18 15:45:02;…
phpasked Bruno César 129 -
1
votes1
answer29
viewsQ: Relatedd and two tables
Guys, I have two tables and I need to connect them. I’m doing it this way: SELECT lancamentos .* FROM lancamentos INNER JOIN clientes ON lancamentos.cliente_id = clientes.id ORDER BY clientes.nome…
-
2
votes2
answers1283
viewsQ: User Registration in Laravel
I’m starting with Laravel for a couple of weeks and automatically it’s raining with doubts. I have a registration form with the following button below: <button type="button" class="btn…
-
-3
votes1
answer302
viewsQ: Format JSON result with data returned every 30 minutes
A short time ago, I asked this question: Recover parameter to filter in SQL: date and time every minute Now I need the result to be in the same JSON format as below: {label:'00:00', y:92 ,…
-
4
votes1
answer1467
viewsQ: CSS and JS files in Laravel
By "default", the CSS and JS files in Laravel are in the folder public. But when I create dependencies with Bower, it creates the component folder in the folder vendor. I can change the vendor for…
-
1
votes2
answers117
viewsQ: Recover parameter to filter in SQL: date and time every minute
I have a table with a column called values and it has the following columns: ID, VALUE and DATE. I have a while in PHP that counts 24 hours, so I need to recover the records every 30 minutes. I need…