Postingan lainnya
Masalah pada multi array php Undefined offset:2
mengapa saya mendapat "Notice: Undefined offset: 2 in C:\xampp\htdocs\belajar\baru.php on line 54" dari php dengan text
$cuci=[ ['normal',6000],
['express',8000],
['sup experss',10000]
];
echo '<br>';
for ($s=0; $s<count($cuci); $s++){
echo$c;
for ($f=0;$f<count($cuci);$f++){
echo $cuci[$s][$f],' ';
}
}
tetapi ketika "count" diganti dengan jumlah anggka tidak mendapat notice. Terima kasih sebelumnya
0