myarray[] = $my[$addintomtarray]
//52 elements
for ($k=0; $k <= 12; $k++){
echo $myarray[$k].' ';
}
echo '<br>';
for ($k=13; $k < 26; $k++){
echo $myarray[$k].' ';
}
echo '<br>';
for ($k=26; $k < 39; $k++){
echo $myarray[$k].' ';
}
echo '<br>';
for ($k=39; $k <= 51; $k++){
echo $myarray[$k].' ';
}
how to shorten this array code...all I am doing here is splitting an array of 52 elements into 4 chunck of 13 elements each. In addition I am adding formation with br and space
thanks