Prova cosi a me funzia
per gli errori prova a settarecodice:<html> <body> <center>Opzione: <form name="pippo"> <?php echo "<input type=\"hidden\" name=\"num_campi\" value=\"".$_GET['num_campi']."\">"; for($i=0;$i<$_GET['num_campi'];$i++){ echo "<tr><td><input type=\"text\" name=\"cmp$i\"></td></tr>"; } ?> </form> </body> </html>
all'inizio dello script per vedere che errori ti ritornacodice:error_reporting(E_ALL);