ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 Next »
1
Date Submitted Mon. Jan. 18th, 2010 5:56 PM
Revision 1
Helper chorny
Tags Array | List | max | min | Perl
Comments 0 comments
Detect indexes of max and min values of an array in Perl
1
Date Submitted Fri. Dec. 24th, 2010 1:51 PM
Revision 1
Helper chorny
Tags Array | Perl
Comments 0 comments
Example of capturing content from one string in array till end of array, with tests
3
Date Submitted Fri. May. 15th, 2009 9:14 AM
Revision 1
Beginner ChronoFish
Tags Array | parser | PHP | XML | XML2Array | XMLToArray
Comments 1 comments
Here is a my latest refinement of an XML2Array function. It creates an associative array where tags are the keys. When tags have attributes, it becomes part of the key (optionally). The values of the resultant array is itself an array of values OR another XML2Aarray array.

- Enjoy
4
Date Submitted Fri. Jul. 20th, 2007 7:34 PM
Revision 1
Scripter ColdKeyboard
Tags Array | debug | Show
Comments 0 comments
Very useful function that you can use to debug/show your array and it's contents.

Sometimes when you have problems with arrays and print_r() isn't very nice way to show array values because it shows everything in one line and then it is very hard to debug... this way I think it's much much easier.
0
Date Submitted Sun. Nov. 14th, 2010 11:50 AM
Revision 1
Helper Doctor_Who
Tags Array | C | stog
Comments 0 comments
Implementacija stoga preko polja.
14
Date Submitted Mon. Oct. 2nd, 2006 1:05 PM
Revision 1
Beginner drench
Tags Array | JavaScript | List | Random | shuffle
Comments 3 comments
It works with Array types. The example is a simple list of numbers, but the array could contain anything; lists of strings, functions, DOM nodes, whatever. Unfortunately, a lot of things that seem like arrays in the DOM aren't really, so you can't shuffle the images on a page with just document.images.shuffle() all by itself.
14
Date Submitted Tue. Sep. 12th, 2006 1:34 AM
Revision 1
Beginner Headzoo
Tags Array | JavaScript | PHP
Comments 3 comments
Given a PHP array (even a deep nested array), returns a string representation of that array as JavaScript array. Useful when using PHP to output JavaScript.
7
Date Submitted Fri. Jul. 20th, 2007 11:12 PM
Revision 1
Helper lavaramano
Tags Array | getelementsby | JavaScript
Comments 1 comments
Returns an array with all the objects with certain class. tested on IE 6 and Firefox 2
0
Date Submitted Sat. Jan. 9th, 2010 5:46 PM
Revision 1
Beginner MarioK7
Tags Array | binary | tree
Comments 0 comments
Binarno stablo implementirano pomoću polja ...
10
Date Submitted Thu. Apr. 13th, 2006 10:46 AM
Revision 1
Coder mattrmiller
Tags Array | Case | PHP
Comments 0 comments
Change the case of an array.
« Previous 1 2 Next »