$valuable = array("Mamah","Papah","Nenek","Kakek","Mas","Adek"); sort ($valuable); $random= rand(0,5); $acak=$valuable{$random}; echo strtoupper($acak);
1 jempol
akhisyabab
99
4
·
8 tahun, 10 bulan yang lalu
·
0 jempol
$family=array("mbae","bapak","ibu","adek"); sort($family); echo join(", ",$family); $acak = rand(0,count($family)-1); echo "\n".strtoupper($family[$acak]);