0

In the code at the end, the line:

<td class="center-align"><?php echo $product['quantity']; ?></td>   

shows an html dropdown list with a selected value. What should I do to show only the value selected within the dropdown list, whthout the dropdown list box?

-This is a link to what it shows now:

http://oi57.tinypic.com/wqzf5x.jpg

-This is what I want to show:

http://oi62.tinypic.com/k2efra.jpg

Here is the code:

<tbody>
<?php foreach ($products as $product): ?>
  <tr>
  <td class="purchase_deal_title" colspan="2">

 <?php 
 $deal = Group_Buying_Deal::get_instance($product['deal_id']);
  echo $deal->get_title($product['data']); ?>
    </td>
<td class="center-align"><?php echo $product['quantity']; ?></td>
<td class="cart-price"><?php echo gb_formatted_money($product['unit_price']); ?></td>

</tr>

<?php endforeach ?>

</tbody>
pnuts
  • 58,317
  • 11
  • 87
  • 139

0 Answers0