Posts by Felipe Alves • 26 points
3 posts
-
0
votes2
answers1617
viewsA: Foreach in Javascript
out of a method, I imagine the resolution in a simple and verbose way as following: let dados = { nome: '', email: 'email', telefone: 'telefone', cursos: 'cursos', cidade: 'cidade' }; let count = 0;…
-
1
votes1
answer188
viewsA: How to use 'limit' inside a MYSQL database
I decided as follows: I created a variable and made a condition that according to the result that comes from the parameter it assigns a certain value to variable and then use it when determining the…
-
0
votes1
answer188
viewsQ: How to use 'limit' inside a MYSQL database
Talk about beauty? Next, I am mounting a precedent, where I insert as parameter the number of lines that it will return and if it is 0 or is empty, it returns all possible lines, but in my logic is…