$se=$db->prepare("select * from users inner join product on users.id=product.sellerid where product.sellerid=:sid");
$se->execute(array("sid"=>$id));