Posts by Lucas Lima de Oliveira • 16 points
5 posts
-
0
votes4
answers450
viewsA: UPDATE WITH SELECT AS A CONDITION
You need to add the clause WHERE to your SQL to update only the user you want. Something like: update = "UPDATE usuarios SET confirmado = '1' WHERE id_usuario = '<usuario_logado>'"; Without…
-
0
votes2
answers336
viewsA: flexbox: space-between of 2 children starting at the middle and then ending
Maybe not the best ways, but I see two possibilities that can help you. One of them is using justify-content: flex-end, this will cause your items to start to be aligned from the right. It may not…
-
0
votes1
answer104
viewsA: How to perform a Reload on only one part of the page, from an ID?
You can use Ajax to perform a certain function of a URL and update the contents of your div with the return of the function. That way you won’t be reloading your entire page. An example of ajax…
-
0
votes2
answers997
viewsA: Upper and lower case in PHP
You can use the strtolower() function to convert the entire string to lower case and query the database with return of that function. $email = strtolower($email);
phpanswered Lucas Lima de Oliveira 16 -
0
votes1
answer37
viewsA: Error in selection query about social network requests
I believe the problem may be in your JOIN, you can try using ON to specify the JOIN condition. SELECT * FROM tbUsuario user JOIN tbAmizade am ON user.id = am.user_id, tbGenMus gen [...] Without…