Foreach PHP

<?php

$data[0]['huruf'] = "A";
$data[1]['huruf'] = "B";
$data[2]['huruf'] = "C";
$data[3]['huruf'] = "D";
$data[4]['huruf'] = "E";
$data[5]['huruf'] = "F";

foreach($data as $key){
echo $key['huruf'];
}

?>

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *