Codice PHP:
    echo "$_POST[$nuovolink$conta]"
Parse error: parse error, unexpected T_VARIABLE, expecting ']' in c:\programmi\easyphp1-7\www\insmodifica1.php on line 28


Per spedire le variabili uso questo sistema:

codice:
<form action='insmodifica1.php' method='post' name='modifica' id="modifica">
		  <?php
			$query = "SELECT link, idlink, descrizione FROM link where idlink <6 order by idlink";
			$ris = mysql_query($query, $conn) or die("Errore nella query: " . mysql_error());
			$n=0;
		
			while ($query_data = mysql_fetch_row($ris)) {
			$n++;
		
			  echo "<fieldset class='modificaright'>
				<legend>Modulo di modifica dati relativo al link: &quot;$query_data[0]&quot;</legend>
				<input type='text' id='modificainput' name='nuovolink$n' VALUE='$query_data[0]'>

				<textarea name='desclink$n'>$query_data[2]</textarea>

			</fieldset>
			";
			}
			echo "<input type='hidden' value='$n' id='n' name='n' />";
			?>
			

			<input type="submit" value="Conferma" id="bottonemodifica" />
      	</form>