Control relay with nodemcu

Hello, I’m doing a project using a dht11, a soil moisture sensor on nodemcu, but I’m stuck on the part of being able to control the relay through the php control page.

I don’t know how do that

Can someone help me?

My controle page:

My nodemcu code: