1) en el segundo script $i no tiene valor
2) si tienes register_globals=Off en php.ini tendrias que tomar la variable asi:
Código PHP:
<?php
$i=1;
$nombre="nombre$i";
print "<h2>Hola ".$_GET[$nombre]."</h2>\n";
?>
Encuentro "extraño" hacer eso, aunque funcione.