An array is an ordered data structure consisting of a collection of elements (values or variables), each identified by one (single dimensional array, or vector) or multiple indexes.

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Get Title and Published Date of All posts published in Blogger Site using PowerShell

How can i use Invoke-WebRequest to get all blogs posted till date in a blogger website?? can anyone help me out? i did all this stuff but was not able to get output $r = Invoke-WebRequest -Uri ...
0
votes
2answers
10 views

Store multiple values in single key in json

I need to store many values in single key of json. e.g. { "number" : "1","2","3", "alphabet" : "a", "b", "c" } Something like this. Any pointers?
0
votes
4answers
27 views

PHP 5.4 Array undefine

This is PHP 5.4 code... <?php function abc($YesNo){return $YesNo["value"];} $YesNo = array("value"=>"No","text"=>"No"); $x = array("active"=>function(){return abc($YesNo);}); echo ...
1
vote
0answers
12 views

Large array in database won't load in rails view

I am trying to pull in data from an array into a view to form a chart. The array is stored in a database field and is very large. The array contains around 70k+ smaller arrays that look like this, ...
0
votes
1answer
7 views

searching an array deep inside a mongo document

in my mongo collection called pixels, I have documents like the sample I'm looking for a way to search in the actions.tags part of the documents? db.pixelsactifs.actions.find({tags:{$in : ...
1
vote
3answers
54 views

Putting Struct information into one big array

I am looking for a way to put an entire structs information into an array. The reason for this is that a function I am working with requires an array of information to read from. Instead of calling ...
1
vote
2answers
15 views

Array Based Implementation of a Vector

Homework Assistance Describe an array based implementation of a vector such that inserting and removing at beginning and end of the vector can be done in constant time. Argue convincingly. ...
0
votes
2answers
26 views

Java Script - How to search object within array efficiently

I need to find an object (a string to be precise) inside a large array. While the below code works, it's tediously scrolling through each element of the array, a brute method. Is there a more ...
1
vote
1answer
12 views

Filling an array of Divs with values from another array?

I've got eight divs, which I've put into a javascript array. I've also got another array of eight different strings. basically i want the strings from one array to be displayed in the divs from the ...
0
votes
0answers
10 views

How can i parse a file and put it in an array in ml

i am new in ml and i have this problem.i have written a function in order to read a file of chars.My code is : fun parse file = let fun readInt input = Option.valOf (TextIO.scanStream (Int.scan ...
-1
votes
5answers
43 views

Php echo array items one by one by click (only unique)

Gooda. Please help to fix a little bit my php code: Here is code: <?php $urls = array("http://www.site1.com", "http://www.site2.com", "http://www.site2.com"); $url = $urls[array_rand($urls)]; ...
-3
votes
1answer
37 views

PHP Parse error: syntax error, [closed]

I keep getting the following error when building an array: PHP Parse error: syntax error, unexpected ';', expecting ')' for the following code: $fetchResult=$PubMedClient->run_eFetch(array( ...
0
votes
0answers
17 views

Javascript indexOf behaves differently on server side compared to client side?

Our site runs javascript on .asp and the indexOf function is not behaving as I would expect. See example below (some vars changed for the same of the example. All types are the same however): var SID ...
0
votes
3answers
66 views

How to POST a multi-dimensional PHP array via a hidden input field using $.ajax?

I realise there are a few other questions regarding this and I have read them and attempted the solutions however they are not working for me. It may be because I am serializing the post twice because ...
0
votes
1answer
105 views

difference between declaring arrays in c#

While studying C#,I got the following doubt.Since arrays are reference types in C# when declared I think they are allocated on heap all the time.So when we declare array in following the ways: int[] ...

1 2 3 4 5 3631
15 30 50 per page