LDR value -> to Webserver in a Database

Hi. I would like to store the value of a sensor (eg now LDR) in the TXT database on a server, this 4-5 times a day, I have LDR value already, only connecting to a server gives me problems because I can someone help how do I get that?

lg

Iloveratte

The general idea is covered here:
Save-data-of-temperature-and-humidity-on-MySQL