Rewriting the code of task 1 to use php and MySQL