codice:
for($i=0;$i<=3;$i++)
{
  $start = $i * 10;
  $piece[$i] = substr($result['record'],$start,10)
}