Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php foreach in js

var a = ["a", "b", "c"];
for (var index = 0; index < a.length; ++index) {
    console.log(a[index]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #foreach #js
ADD COMMENT
Topic
Name
1+5 =