Posts by osor1o • 128 points
3 posts
-
7
votes2
answers2558
viewsQ: HTTP status for registered user
What status should I return to my API if a user tries to register with an existing user name or email in the system?
-
2
votes1
answer125
viewsA: Create Table with 3 rows then create another table with 3 more rows
Perform a query in your database using distinct (https://www.w3schools.com/sql/sql_distinct.asp) to pull all groups. SELECT DISTINCT NOME_CHAVE FROM Grupos_Sorteados We will have an array with all…
-
2
votes2
answers150
viewsA: How to pull all rows of the database in php but only showing the value of a specific query column once?
What you need is to use the "rowspan" attribute in the html td tag (https://www.w3schools.com/tags/att_td_rowspan.asp). I made an example of using the loop of repetition foreach. I even recommend…