Can you be a little more specific please?
I understood the information as follows.
sellers name, product as your field names..
would be something like
$sql = "SELECT sum(product) as total, sellers_name FROM yourtable";
I think that is what you are loooking for but please correct me if I am wrong.
Cheers.
John