Code:
$query = $this->db->query("
SELECT
op.product_id,
SUM(op.quantity) AS total
FROM " . DB_PREFIX . "order_product op
LEFT JOIN `" . DB_PREFIX . "order` o
ON (op.order_id = o.order_id)
WHERE o.order_status_id > '0'
GROUP BY op.product_id
ORDER BY total DESC
LIMIT " . (int)$limit);
I want store the text in this "text field" while storing the quantity,
Code:
<input type="text" name="recip_name" size="45" value="xxxxxxxxxxx" />
Browse: http://img694.imageshack.us/img694/6773/81865398.png
please help me to change the code ;(
Comment