I can get this to work:
$counter = 2;
$src = ",'new[item" . $counter . "]'";
echo $src;
But, not this:
$counter = 2;
$src = ",'$new[item" . $counter . "]'";
echo $src;
Where $new has already been defined as an array.
What do you think is the problem?