Combined PHP functions into To Do List html to create functionality