Loading data in a database. Send HTTP request and pass value with GET to php

Hi, I'm trying to save some data from DHT22 in a database using the GET function.

My problem is that when I pass as a client the GET command the data are not loaded.

WIFI works and the answer to "client.connect(..,...) is 1.
Moreover if I put directly in the browser as an URL the "server"+"GET..." string, the data are added to the database. So, it seems to me that I am not able to get the connection with the server using arduino even if the answer to "client.connect(server,80) is yes". DHT is working because on the serial I see the values.

I hope don't have forget nothing, let me know your incredible suggestions.
Thanks

WPA2connection.ino (2.59 KB)

I hope don't have forget nothing,

the </> code tags !

So you are saying that if you put the result of this

strURL = "GET /WifiArduino/data.php?";
    strURL += data;
    strURL += " HTTP/1.1";
    client.println(strURL);

into you browsers URL the data gets posted ? then i don't know WifiClient is not really my field but isn't the line supposed to start out with the HTTP ?