Questions tagged as 'arreglos'

2
answers

How to separate a long string array and print everything

I have this arrangement that is returning the string "object" and I'm doing a split in "," . The idea would be to return each piece of string separated just in "," and that each one has a position in the array with its value, but not all v...
asked by 08.06.2017 / 15:15
2
answers

I have a problem with a NullPointerException when comparing a String [closed]

Well, in this program the idea is to register a department and then register an employee, which asks you for a department in which the employee works. The problem is that when I put the department I made a method to compare the one with an ex...
asked by 02.03.2017 / 02:03
4
answers

How to use ArrayList in JavaScript

I need to use a ArrayList in JavaScript to manipulate data and pass it through ajax. For example: Set what type of transport it is, make, year and color. eg var data = {"Automobile", "Nissan", "2010", "Red"} Problem: What I n...
asked by 28.01.2018 / 06:46
4
answers

How can I push a javascript fix of type {}?

I'm trying to generate a dynamic array of type {} tabla.each(function() { var ID = $(this).find('td:eq(0)').html(); var fechaingre = $(this).find("input[id*='dfi']").val(); var fechafin = $(this).find("input[id*='dff']").val();...
asked by 20.01.2017 / 12:12
1
answer

Syntax of a wrong PHP fix

I have a little syntax error with a php fix (I'm a newbie in php), it happens that I need to send my form the load of 2 different tables to 2 select, both models work for me, and each probe and if the load. But sending both inside an array does...
asked by 10.10.2017 / 19:50
1
answer

Does not validate conditional with array in php

I have a form that adds the total amount of all the installments. I put a conditional where it tells me if the array has data print me the total otherwise I print a message. I do not know what my error is, but it does not print the message. I...
asked by 06.07.2017 / 17:56
1
answer

wanted to know how to put 2 fixes in 1 [duplicate] array

Here in my program it only takes 1 array that is the a but the b does not take it: c     
asked by 24.05.2017 / 01:42
1
answer

How to pass a Select and a Checkbox type input as dependent two-dimensional arrays through $ POST to a table?

I have the following form. <!DOCTYPE html> <html> <head><title>ARREGLO_BID</title></head> <body> <form method="POST" action="pruebados.php"> <select name="form[][txtmateria]">...
asked by 27.12.2017 / 16:16
2
answers

error: request for member 'fix' in something not a structure or union

The program tries to implement an array with a buffer but sends an error with a message that says:    error: request for member 'fix' in something not to structure or union How can this error be resolved? #include <stdio.h> #inclu...
asked by 26.11.2017 / 00:32
1
answer

Read txt file and add it to two arrays in java

They ask me for a method where I have to load a txt file and add it to two arrays, one text and one double. I have the following code and I want to know how to add it to the methods, I already have an idea but I do not know if it's okay. Note...
asked by 03.11.2017 / 22:19