Advertisement
ujiajah1

Loop + Array = foreach

Aug 21st, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.13 KB | None | 0 0
  1. $arr_bahasa = array("JavaScript",
  2.   "HTML/CSS", "PHP", "Python");
  3.  
  4. foreach ($arr_bahasa as $bahasa) {
  5.   echo $bahasa . "\n";
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement