echo $_GET['upc']; ?> </span></h2> <form id="form" name="form"> <input type="hidden" id="function" name="function" value="updateWine"> <input type="hidden" id="wine_id" name="wine_id" value="<?php echo $wine->getID(); ?> "> <label for="name">UPC/EAN:</label><input type="text" style="width:400px" id="upc" name="upc" value="<?php echo $wine->getUPC(); ?> "><br> <label for="name">Type:</label><select class="select" id="type" name="type"> <option value="Chardonnay" <?php echo strtoupper($wine->getType()) == 'CHARDONNAY' ? 'selected' : ''; ?> >Chardonnay</option> <option value="Fume/Sauvignon Blanc" <?php echo strtoupper($wine->getType()) == 'FUME/SAUVIGNON BLANC' ? 'selected' : ''; ?> >Fume/Sauvignon Blanc</option> <option value="Pinot Grigio" <?php echo strtoupper($wine->getType()) == 'PINOT GRIGIO' ? 'selected' : ''; ?> >Pinot Grigio</option> <option value="White Zinfandel/Rose" <?php echo strtoupper($wine->getType()) == 'WHITE ZINFANDEL/ROSE' ? 'selected' : ''; ?> >White Zinfandel/Rose</option> <option value="Other Whites" <?php