Posts by JavaScript • 69 points
7 posts
-
0
votes3
answers116
viewsA: How to return the value of a file outside its scope
const function= async()=> { const response = await axios.get("localhost"); const {data} = response.data return data; }
-
-1
votes2
answers36
viewsQ: Delete only if there is - in the word
I would like to delete some useless records from my database They are, for example: -2046820062 -2046820165 -2046820183 In short, all records that start with the symbol - (less) of my data2 column…
-
-5
votes4
answers1004
viewsQ: What are the batch commands/variables. Example [%username% or %groupname%]
How to get more information about variables of this same type/model? Is there any publication (link) with more information related to these variables? I need to get as much information from the…
-
2
votes2
answers3642
viewsQ: Change color of the icon after clicking or Hover input
I would like as soon as I click the input to change the color of my icon My form <form method="post" id="form"> <div class="input-wrapper"> <div class="icone…
-
-1
votes1
answer80
viewsQ: Running time (Calculating dates)
hello, can anyone tell me what’s going on here? date_default_timezone_set('America/Sao_Paulo'); function tempo_corrido($data_informada) { $agora = strtotime(date('d/m/Y H:i:s')); $data_informada =…
phpasked JavaScript 69 -
0
votes1
answer113
viewsQ: Select from all users with only one result from each user
Hey, good night, man. I think the title is a little fuzzy, I’ll try to explain better. I’m making a chat system and I want to list all user conversations, but only one message from each user.…
-
0
votes2
answers56
viewsQ: Count Database output
hello. good night. I have a question I want to add up all the field values valor_reais of my table for example id 1 = 150 id 2 = 100 id 3 = 100 I want the obvious result, 350 I’ve tried something…