Answers for "create javascript array in php loop"

PHP
1

php array loop

for ($i = 0; $i < count($array); $i++) {
    echo $array[$i]['filename'];
    echo $array[$i]['filepath'];
}
Posted by: Guest on May-05-2020
0

php loop through array

foreach($array as $item=>$values){
     echo $values->filepath;
    }
Posted by: Guest on July-12-2020

Code answers related to "create javascript array in php loop"

Browse Popular Code Answers by Language