A new generalization of Ostrowski's inequality for functions whose derivatives belong to $L_p([a,b])$ $(1\leq p<\infty)$ for $k$ points via a parameter is provided. Some particular integral inequalities are derived as by products. Our results generalize some results in the literature.