Posts by Helder Pereira • 121 points
10 posts
-
0
votes4
answers635
viewsA: I want to subtract elements from an array in JS, but that returns several results
var arrayResultado = [arrayExemplo[1] - arrayExemplo[0],arrayExemplo[2]-arrayExemplo[1],arrayExemplo[3]-arrayExemplo[2],arrayExemplo[4]-arrayExemplo[3]];
javascriptanswered Helder Pereira 121 -
0
votes2
answers31
viewsA: Search and display results in select
Take a look here, I think it’s something like you need.
-
2
votes1
answer1015
viewsQ: IDE for development in Vuejs
I’m starting out in vueJS and I’d like to know which IDE you advise? I use netbeans for HTML, PHP, JS, etc. Can you integrate vueJS into netbeans? There are some pluing for this?
vue.jsasked Helder Pereira 121 -
1
votes2
answers101
viewsA: how to change the class of an element according to the position of values within a foreach?
Simply incrementing the variable $list before the end of the loop puts $list++;
-
0
votes1
answer80
viewsQ: Explode php string
I have a strange problem at least for me. I have a string in php: $str='10,20,30,40'; explode(',',$str); When I do the string explode and pass the result to a view via $ajax I get the following…
-
1
votes1
answer881
viewsA: Upload Multiple jQuery PHP Files
HTML - index.html <div> <form method="post" enctype="multipart/form-data"> Selecione um ficheiro: <input type="file" name="fileToUpload[]" multiple accept="application/pdf">…
-
2
votes1
answer1312
viewsQ: Pass variable between javafx windows
I’m passing a variable from window "A" to window "B". So far so good. The problem starts when in the "B" window I try to access the variable when the window starts. The value passed does not exist.…
-
0
votes2
answers482
viewsA: How to take bank line value and put in checkbox
<input type="checkbox" name="Hdisponivel[]" value="<?php echo myVar;?>" /> By defining the name with "[]" Voce you are passing an array type variable to the Post. This means you have to…
phpanswered Helder Pereira 121 -
0
votes2
answers588
viewsQ: Load table view with Observablelist
I’m trying to load a table view with the result of a query. The result of the query is sent to an Observablelist which is then called in the controller. I do not get any error but it also does not…
-
1
votes1
answer86
viewsQ: Procedure - Error code Mysql : #1064
CREATE DEFINER=`root`@`localhost` PROCEDURE `teste`(IN `pId` VARCHAR(20))NO SQL INSERT INTO gpetnaold.pessoal SELECT * FROM gpetna.pessoal WHERE gpetna.pessoal.id=pId; INSERT INTO gpetnaold.contato…
mysqlasked Helder Pereira 121