Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Array
  2. (
  3. [lists] => Array
  4. (
  5. [0] => Array
  6. (
  7. [id] => 23ybdwhdwbed
  8. [name] => TEST
  9. (
  10. [1] => Array
  11. (
  12. [id] => e223edsewed
  13. [name] => TEST 2
  14. (
  15. )
  16. )
  17.  
  18. $x = 0;
  19. foreach($lists as $list){
  20.  
  21. $listId = $list[$x]['id'];
  22. $listName = $list[$x]['name'];
  23.  
  24. echo"$x | $listId $listName <br />";
  25.  
  26. $x++;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement