Building a todo list in PHP

Corrected list numbers to start at 1 and subtract to proper number.