I remember those days well, when everyone pestered me for help in pretty much everything...

I'm actually heading to site soon and should have spent the day resting (or should that be REST-ing ?). However I can sleep when I die so played around a little more.
I have a MySql database with a table called "sensors" containing two fields, ID and Value as per a previous post.
Today I created a script that if called using "GET" updates the table with the values in the key-pairs.
Say my database is on my LAN with an IP of 192.168.1.2
My fields were called ID and Value
My script was called "update.php"
I want to send the values of 1 and 17 to fields ID and Value respectively
In my browser I would type the following
http://192.168.1.2/update.php?ID=1&Value=17
My browser calls the script update.php and passes the key-pair values (ID=1 and Value=17) to the script. The script then creates a query to update the database with the values.
Behind the scenes your browser is doing some t-shirt magic which we don't really care about (if you do, then enable the developer mode I spoke of). What we do like though is that it is very easy to get a microcontroller such as a PIC to send a GET.
I would have the PIC, perhaps using an ESP8266 connect to the server (192.168.1,2) using FC component macros
Then I'd send the following string (where x and y are the values I wish to send) again using FC
"GET /update.php?ID=x&Value=y HTTP/1.1\r\nHost: 192.168.1.2\r\n\r\n"
The server script will take the values in the key-pair and update the database.
It's a bit rough just now so when I GET a chance (see what I did?) I'll tidy it up and POST (ouch) so you can see what is going on. I haven't tested it yet with a PIC, but as it works with a browser I'm not expecting any real bother.
Regards