Questions tagged as 'array'

1
answer

when clicking on a button shown by while, it only throws data from the first tour of the while, although click on the second button shown

I am starting in php and I occupy shopping cart with sessions, I show the products through the database with a while and in each while there is a button with the id of the product and when I click on the button , calls a function of js where it...
asked by 27.07.2018 / 05:59
0
answers

Add arrays of a MySQL query in PHP -

Make a query to my database which gives me the following results: [400,600]    Note: this query is done with mysqli where obviously in array it is called from a loop while in this way $columna_gastos['costo_gastos'] Then...
asked by 02.08.2018 / 21:13
0
answers

How to address to an array post from the output of another array

Good I'm working on a project to manage a 21, where I have to generate a random arrangement that tells me a value int[] Cartas = new int[5]; then another one that handles me the amount of letters 'int[] CantidadCartas = new int[13];'...
asked by 20.07.2018 / 20:29
1
answer

How to save an array inside another array and then save to Firebase

Help! I have this snippet of code to store the following: var company = { description: "", logoPath: "", logoUrl: "" }; var companiesArray = { length: 0, addElem: function addElem(elem) {...
asked by 20.07.2018 / 12:40
0
answers

Graph mysql data by date range with Highcharts

Hello to the whole community! I would be very grateful if someone with more experience could give me an orientation on the next topic ... I want to show data from mysql to a highcharts graphic ... But I would like you to show me the data in a ra...
asked by 24.07.2018 / 09:27
1
answer

Arrangements, random numbers and compare

Occupy helps, I have to make a program that fills two arrays with random numbers, then compare sume two numbers of an arrangement and compare them with the sum of the second, and indicate which is the largest number. The problem is that I do...
asked by 12.07.2018 / 17:59
0
answers

Problem when modifying data from an Array

I have an array of statistics where I keep the statistics of each level, letter. ContentValues valors = new ContentValues(); valors.put("user_id", id); valors.put("letra", "b"); valors.put("jugadas", 0); valo...
asked by 04.07.2018 / 13:27
0
answers

Send Bytes Array. Error 414, Request URI Too Long

I'm trying to insert a byte array by API. The call is made from a Web (Angularjs + PHP) The API that receives it is developed in .NET The problem with which I find myself is the following. We launch a GET request to a URL, along with a...
asked by 03.07.2018 / 14:10
1
answer

how to order asc only the checkboxes that are selected?

Hello, I need your valuable help. I ask you about the situation. I have a table with 4 fields, one of which is a checkbox (select field) Some checkbox fields are already selected by default, and they are messy. what I need to do is to order at t...
asked by 29.06.2018 / 00:51
0
answers

Array processing, Objects, javascript

I have the following, I get a Json and I put it back with a For, the intention is to modify some properties in this case the status, for (var i = 0; i < datos.length; i++) { if(datos[i].id_expediente === this.id_expediente ){ cons...
asked by 02.07.2018 / 20:24