Codice PHP:
$count 5;
for(
$i=1;$i<=$count;$i++) {
  echo 
"<input type=\"text\" name=\"{$var.$i}\" />";