Posts by Shayllis Alves de Sousa • 131 points
4 posts
-
0
votes1
answer187
viewsA: Anchor and link in same href without losing effect
Simple. Include the file that contains the Scroll function only in the index which is where you want the effect, in the others let only the native behavior take care of the work (redirect to the…
-
2
votes2
answers1959
viewsA: Mysql query excluding empty LINES
Good afternoon. You need to indicate the condition in WHERE. It can be done as follows: SELECT * FROM produtos WHERE gnbr IS NOT NULL AND sprd IS NOT NULL. You need to manually add each element with…
mysqlanswered Shayllis Alves de Sousa 131 -
1
votes1
answer100
viewsA: Delete repetitions inside While
Hello. You can resolve directly in your SQL query by adding a GROUP BY by the code of the element you seek. Much simpler and faster.
-
0
votes3
answers104
viewsA: PHP variable title
Oops. You need to run and return the query. You can do it like this: $query = mysqli_query("SELECT titulo FROM tbl_criticas WHERE id = {$codigo} LIMIT 1");//Executa a query $titulo =…