Help with merge esp web server with sensor read data.

I am very stuck.

Does that mean you have attempted to merge them and failed? If so, post that attempt and describe happens when you run it, and what you wanted to happen. If it does not compile, post the error messages, all of them, in code tags.