Advertisement
ujiajah1

array

Aug 27th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2. //array dengan index berupa string  
  3. $mobil=array('suzuki','honda','cevrolet','mitsubishi');
  4. echo $mobil[0]. "\n".$mobil[1]. "\n".$mobil[2]. "\n".$mobil[3];
  5. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement