send mq7 or other sensors data to mysql of local website via NodeMcu-esp8266

hi guys
im doing a project about uploading sensors data to database of my local site in the internet (via NodeMcu)
i install nodemcu libraries to my arduino IDE & can upload easily arduino examples and running well, but don't know how can read sensors data and send it to my website host in .txt format or sql to access it in host & show it on my website.
I try this process with one mq7 gas sensor to know what should i do and after success that example continue it, but i stuck in first step.
please help me MASTER guys:(((