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: https://github.com/LukinMar/sistema-irrigacao-alpha/blob/master/controle.php

My nodemcu code: https://github.com/LukinMar/sistema-irrigacao-alpha/blob/master/nodemcu/nodemcu_sensores_mysql.ino

970db3b4350f1abbe013372aedaec40d63fc80b2.png