Why won't my arduino code upload data to database>?

Try:

      client.print(longitude);
      Serial.print(longitude);
      client.println(" HTTP/1.1");

All I did was insert a space before "HTTP/1.1". Otherwise there is no whitespace between the URL and the rest of the message.

Have a look at my code for comparison.