Existence of solutions for a class of quasilinear elliptic equations involving the p-Laplacian