Sometimes you want to create list of links without writting all HTML? Let use this link script, just enter your URLs in a string array, the code will make the rest for you, the code will make array convert and your array values will be formatted and placed as links. You can sort array before processing.
This snippet searches an array for a pre-specified element and returns 'true' if it's found, 'false' if it's not found. It functions like the in_array() in PHP.
Use this prototype function to search through a multi-dimensional array. Simple yet efficient! Includes examples.
This is an example of using the Array() object's own sort method to randomize itself. Very simple and clean! Example of how to randomize an array.


14/04/2009
0




