Questions tagged as 'array'

0
answers

The value in all arrays C # is changed

Hello, I would like your help or see if anyone knows what is happening, when reading the data in an excel file I keep it in an array and I keep two more to perform other procedures with them, but when modifying one the others are modified two, s...
asked by 18.02.2018 / 17:39
0
answers

Error in reverse arrangement

I made an arrangement of 10 elements, and then another arrangement with the same amount of the 1st but the content is inverse, example: List 1: 1. 20 2. 34 3. 12 List 2: 10. 20 9. 34 8. 12 And so ... static void Main(stri...
asked by 13.02.2018 / 07:25
0
answers

Validate in what arrangement a data is found and that I get the corresponding message

I have that code, I want to validate by means of the corresponding message, in what arrangement is the data entered, whether it is authorized or not. The data is entered, and the message appears according to the location of the data in the array...
asked by 12.02.2018 / 01:06
3
answers

generation and sending of array php by post

I have a mysql query: while ($qry = mysql_fetch_array($res)){ $id_prod = $qry["id"]; $id_venta = $qry["id_venta"]; $idcl = $qry["id_cl"]; $garzon = $qry["usuario"]; $valor_total = $qry["valor"]; $prod= $qry['producto']; --> es...
asked by 07.02.2018 / 15:52
0
answers

Combined (vector, lists, file) and counter

my problem arises from a matter that I must render in the faculty, I am quite stuck, and it is a subject that I have left aside for this very reason. I achieve progress with the process, but the result never fails me, or I do not know what I'm d...
asked by 08.02.2018 / 20:14
1
answer

Browse recursive array

Good, I'm with a problem explained more or less, I need to go through the array and go concatenating father and son, now we need to go concatenated only if you have children ... suppose this is my array: $rows2 = array( array( 'id' => 1...
asked by 06.02.2018 / 22:02
1
answer

Generate a result for each document.getElementById

I have the following code js that does the following: Shows in an orderly fashion what it recovers from an array in a select but I do not know how to make print on it if the selected product is solid or liquid .. I have blocked, and therefore...
asked by 03.02.2018 / 21:42
1
answer

PHP recursive function, get children

Does anyone give me a hand? I need to create a recursive function, that the father obtains for me and if he has children, that is to say that he returns me slug: father and if he has children is slug: padre/hijo/hijos and so recursively....
asked by 22.01.2018 / 15:34
1
answer

anguar array to matrix

my question is the following with angular I rescue an app arrangement 100 items and I show them in the view with the ngFor, until there everything is fine but what I want is that instead of showing in this way item item item is displa...
asked by 22.01.2018 / 19:52
0
answers

How can I get the boats to be placed in the matrix without touching?

The two 1 represent a ship, the two 2 represent a ship and the two 3 represent another ship. the boats have 2 cells of size and must be placed using random and without touching. How can I get the boats to place themselves in the matrix withou...
asked by 20.01.2018 / 19:12