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

7
Date Submitted Sat. Mar. 3rd, 2007 5:55 AM
Revision 1
Scripter shachi
Tags foreach | JavaScript
Comments 4 comments
Just a small snippet I discovered when I was tired writing somearrayname\[i\] I thought there was something like foreach in javascript but couldn't find any so why not make one?
For those foreach(){...} lovers.

Hope it makes your life easier.
6
Date Submitted Fri. Aug. 25th, 2006 4:01 AM
Revision 1
Helper Cyber-Drugs
Tags explode | foreach
Comments 0 comments
Ever used the Explode() function, and in some parts of the returned array, are NULL values? Below is a function which will only return values which are not NULL. Depending on what you are trying to achieve, this could turn out to be useful.