Posts by Breno Xavier • 21 points
3 posts
-
0
votes0
answers36
viewsQ: Installing Swagger-PHP in a Lumen 8 project
Hello! First, I set my file web.php in this way: /** * @OA\Info(title="My First API", version="0.1") */ /** * @OA\Get( * path="/api/resource.json", * @OA\Response(response="200", description="An…
-
1
votes1
answer51
viewsA: How can I add a variable inside a string using the C language?
Doubt answered with the anonymous comment below my post, thank you! sprintf(sql, "INSERT INTO register VALUES('Luis', '%.2d/%.2d/%.4 - %.2dh%.2d');", dia, mes, ano, horas, minutos);…
canswered Breno Xavier 21 -
1
votes1
answer51
viewsQ: How can I add a variable inside a string using the C language?
In my code, I need to insert within an SQL statement the date formatted as a string using this format: 14/06/2020 - 20h40 But I get the values (minutes, hours, days, months, years) separately (a…
casked Breno Xavier 21