perché mi da un notice qui:
Codice PHP:
function selectNazione() {
global $db, $table_offerte, $_POST;
if(isset($_POST['Regione'])) {
$rs = $db->query("SELECT DISTINCT nazione FROM $table_offerte WHERE regione = '".$_POST['Regione']."'");
while($current_nation = $db->fetch_array($rs)) {
$curr_n = $current_nation[nazione]; //Use of undefined constant nazione - assumed 'nazione'
}
}