Posts by Eduardo Resende • 75 points
5 posts
-
1
votes2
answers354
viewsA: (Query SQL) Limit the number of rows in a select with Inner Join and Where in
It compromises the request time a little, but I think it solves your problem by using a subquery select "products".*, "product_categories"."idCategory" as "idCategory" from "products" inner join…
-
-1
votes1
answer92
viewsQ: How to use the values of a PHP variable in an external javascript script
I want to use vuejs in a system made in php with MVC, I want to take an accessible array on the page and move to javascrip at the time of the load, so that it manipulates the display. I know you can…
-
0
votes2
answers160
viewsA: Adjust Card Location
You can use position or flex display, but the ideal I think would be to put the card inside the div back1, but if you don’t want to apply on the body or put a wrapper on the two the important thing…
-
4
votes2
answers120
viewsA: Beginner in Python
Use an array: notas = [10, 20, 30] for nota in notas: if nota == 0: print("É zero")
-
1
votes2
answers71
viewsA: View data from two mysql tables in one page in PHP
Use Inner Join SELECT internacoes.*, pacientes_backup.* FROM internacoes INNER JOIN pacientes_backup on internacoes.nome = pacientes_backup.nome WHERE ... And also I recommend using parentheses in…
phpanswered Eduardo Resende 75