adding PHP server code and SQL table