for($n = 0; $n <= 5; $n++)
{
$some = $n+1 ;
}
$dataSubActivity[]=array(
'showSubid' => $some,
'activityMainId'=> $activityMainId,
'activitySubTitle'=> $activitySubTitle,
'descSub'=> $description,
'unit'=> $unit,
'quantity'=> $quantity);
the above code is an array i want to increment "showSubid" by 1 so the result should be 1,2,3,4 etc please give some idea