A nonlinear boundary value problem involving the p-biharmonic operator is investigated, where p > 1. It describes various problems in the theory of elasticity, e.g., the shape of an elastic beam where the bending moment depends on the curvature as a power function with exponent p − 1. We prove existence of solutions satisfying a quite general boundary condition that incorporates many particular boundary conditions which are frequently considered in the literature.