mysql_query('UPDATE `coupon` SET `coupon` = "'.$coupon.'" ') or die (mysql_error());
<?php foreach ( $tabs as $key => $tab ) : ?><li class="<?php echo $key ?>_tab">
<a href="#tab-<?php echo $key ?>"><?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', $tab['title'], $key ) ?></a>
</li><?php endforeach; ?>