+ 3

How to looping the action on php

How to looping the action on php?

6th May 2017, 9:19 AM
Tegar Dazzly
Tegar Dazzly - avatar
2 Answers
+ 3
this my code $resource = '1, 2, 3'; $resource = explode(", ", $resource); for($x = 0; $x count($resource); $x++;) $theaction->resource($resource[$x]); foreach($theaction->do as $do) { if(!$do){ echo "blablabla"; } }
6th May 2017, 9:26 AM
Tegar Dazzly
Tegar Dazzly - avatar