Assuming it's a typo and instead of $name you meant $names
Running this script
<?
$names = array('Sporting', 'Benfica', 'Braga', 'Porto');
$conter = 0;
$week = 1;
$size = count($names);
for($i=0; $i < $size; $i++)
{
if($conter == 2)
{
$conter = 0;
$week++;
}
echo "Insert $names[$i] in week $week<br />";
$conter ++;
?>
gives me
Insert Sporting in week 1
Insert Benfica in week 1
Insert Braga in week 2
Insert Porto in week 2