Try this code
SELECT SUM(price) as total FROM products WHERE POID = '$POID' GROUP BY POID
that should total up all items with that POID
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --