Questions tagged as 'array'

0
answers

Arrangement of divs

I need to create a simple page, my problem is that I need an array array of divs with class .pagina but how should I declare it and go through to identify if it is the page that should be shown or otherwise hide. globa: let currentP...
asked by 29.11.2018 / 19:09
1
answer

How to insert an array into another array in php

I can not perform this insertion even in an array, considering that I have this static array of example in php. Where I intend to visualize the record in a bar graph with the canvasjs library, where one of its attributes is to pass an array like...
asked by 04.12.2018 / 11:22
2
answers

Separate sequences when a value is repeated - Javascript

We want to make a program that receives a sequence of integers, the first of which will indicate the number of numbers to be read, and order the sequences. When we find a sequence we will order, from least to greatest, all the elements belong...
asked by 27.11.2018 / 02:46
1
answer

Promises with NodeJS

I have an array of stores which by promises I try to obtain the schedule of each, but in some cases I get the following error:    UnhandledPromiseRejectionWarning: TypeError: Can not read property   'length' of undefined       at control_home...
asked by 26.11.2018 / 04:34
0
answers

how to make an accumulator in apache velocity

I am trying to make a simple accumulator within a foreach in apache velocity and I would not be accumulating the values .. I did not find any documentation about the scopes that manages velocity .. some example of how...
asked by 29.11.2018 / 16:57
0
answers

Inquiry With a Select Multiple PHP

In summary, I need the query to be made according to the number of options selected in the Select field. I do not know if I can explain myself clearly. Until now the code that I have is the following, however it only shows the result of a sel...
asked by 07.12.2018 / 20:18
0
answers

How to get wordpress records and export them in a .csv with php?

I have been trying to get user information from a wordpress database and export it in a .csv file This is the code I'm using: <section> <div> <?php $array_export_cvs = array(); $array_e...
asked by 21.11.2018 / 05:32
0
answers

How to extract data from the database, store it in an associative array and pass it to an implode in PHP and Mysql correctly?

I am trying to extract from a DB query a series of data and these data apart from printing them in a table, I also want to store them in an "implode" to generate a PDF format where the same data will be extracted by means of a "explode". To v...
asked by 25.11.2018 / 02:31
1
answer

Problem of creating a Java 2d array

I have the following code which I need to create a bidimentional array in a dynamic way. The problem arises when you want to create the two-dimensional array fixTemp while assigning the array variable. The compiler tells me it's not easy....
asked by 17.11.2018 / 12:02
0
answers

Help with a vector ordering exercise

17. You enter a list of products with their respective prices, you want to obtain the Next information: a) Total prices b) List of prices and products ordered by alphabetical order. c) The product with the highest price.     
asked by 16.11.2018 / 20:08