ok risolto, sono stupido io, è ovvio che un redirect non può essere ripetuto e in + io non avevo bisogno di ripetere nulla :rollo:
Ho corretto così:
Il problema ora non è + l'header, anke perkè non ci arriva essendo che prima, mysql, mi da un errore:codice:<? include "../config.inc.php"; $CORPORAZIONE=$_POST['corporazione']; $sql = "SELECT ID_CORPORAZIONE FROM CORPORAZIONI WHERE CORPORAZIONE='$CORPORAZIONE'"; $query = mysql_query($sql, $connessione) or die(mysql_error()); $row = mysql_fetch_array($query); $CORPORAZIONE_TIPO = $row['ID_CORPORAZIONE']; header ("Location: amm_corp.php?CORPORAZIONE_TIPO=$CORPORAZIONE_TIPO&CORPORAZIONE=$CORPORAZIONE"); ?>
" You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 "
ma io nella mia riga di sql non vedo errori, voi riuscite a vederne?