Codice PHP:
	
Sei stato di molto aiuto!....c'è un altro problema come in questo caso:
if($_POST['combo'])        {
            $stmt = $dbh->prepare("SELECT P.id_prodotto, P.nome, P.costo, P.imm, C.descrizione FROM prodotto P INNER JOIN categoria C ON P.categoria=C.id where C.id='".$_POST['combo']."'");
            echo '<table>';
            echo '<tr>';
            echo '<td>Nome</td>'; 
            echo '<td>Costo</td>'; 
            echo '<td>Categoria</td>'; 
            echo '<td>Anteprima</td>';
            echo '</tr>';
            if ($stmt->execute(array($_GET['nome']))) <-------- //questo lo preso da una fonte ma non capisco l'utilità, riguarda una tabella dinamica che cambia al selezionare il campo 
            {
            while ($row = $stmt->fetch()) {
                echo '<form action="" method="post">';
                echo '<tr>';
                echo '<td>'.$row['nome'].'</td>'; 
                echo '<td>'.$row['costo'].'</td>'; 
                echo '<td>'.$row['descrizione'].'</td>'; 
                echo '<td><img height=70px width=70px src="'.$row['imm'].'"</img></td>'; 
                echo '<td><input type="submit" name="" value="Add"></input></td>'; 
                echo '<input type="hidden" name="aggiungi" value="'.$row['id_prodotto'].'"></input>';
                echo '<input type="hidden" name="combo" value="'.$_POST['combo'].'"></input>';
                echo '</tr>';
                echo '</form>';
                
                }
            }
            echo '</table>';