Hi All,
I'm trying to display the shipping total for each order along with the other information in the Admin panel/customers/orders. However, I'm not succeeding and the best I can get is a "S" being displayed on each line for shipping. I've tried a number of different things but I'm not getting it, so I'm hoping for a little help from someone that understands coding better.
Here's what I have at this time in orders.php
That query will work to display in PhPmyAdmin, but it's not working here.Code:<?php $shipping_total = 'SELECT `value` FROM `orders_total` WHERE `class` LIKE \'ot_shipping\' ORDER BY `orders_id` DESC'; ?> <td class="dataTableContent" align="center"><?php echo strip_tags ($shipping_total['value']) ?></td>
Any guidance is appreciated.




LinkBack URL
About LinkBacks






Bookmarks