modified todo list from command line to PHP and HTML format