php date manipulation
<p>I am designing a software for leave management in php.I actually need a simple function in php which takes a given date as parameter(i.e any date) and no of days to be added to it as the parameter and returns the resultant date.</p>

<p>The function should accept date in 'YYYY-MM-DD' format and also return resulting date in same mentioned format.</p>

<p>I need help.Any help will be highly appreciated in this regard.</p>
