Question : Someone knows something that makes this: $name = [0=>’name1′,1=>’name2′]; $email = [0=>’email1′,1=> ’email2′]; In this here? $data = […]
Tag: array-multidimensional
Group values from an array in PHP
Question : I have a grid-shaped form that returns the following values inside an Array: array (size=3) 0 => array […]
Check string is contained in PHP Array
Question : I have a function in cURL, its return is an indefinite amount of data, but its format is […]
Sort a multidimensional array with numeric values
Question : Let’s suppose the following situation in which I have array composed of several array with numerical values: $array […]
Simplifying an Array – PHP
Question : I have a multidimensional array where the data is as follows: Array ( [0] => Array ( [0] […]
Mount a two-dimensional array from another array
Question : I have the array $dados below: array(5) { [0]=> “2018-03-28” [1]=> “jantar” [2]=> “lanche” [3]=> “2018-03-29” [4]=> “lanche” […]
Sort a multidimensional array by one column, keeping the same array rows
Question : I have an array with two columns, where in the first column I have the name of a […]
Working with array with X layers in JS
Question : I have a big problem, I already researched in several places and I did not find the solution […]
Difference between two Multidimensional Arrays with PHP
Question : I have these two multidimensional arrays and would like the difference between them, similar to what the array_diff […]
Multidimensional array of different types
Question : I have a view in the bank of my application where I count the user’s name, his sector […]
- 1
- 2