Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $fruits = array('Apple','Banana','Mango');
- $fruits1 = array('Orange','Dragonfruit','Grape');
- array_push($fruits,$fruits1);
- print_r($fruits); exit();
- ?>
- #HASIL RUNNING
- Array (
- [0] => Apple
- [1] => Banana
- [2] => Mango
- [3] => Array (
- [0] => Orange
- [1] => Dragonfruit
- [2] => Grape
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment