Sent Temp and Humunity to SQL Server

Hi,

I have following code in Ardunio UNO,

what is the problem with values. they come with min. ranges.

as attached picture.

Need soon help.

#include <SHT1x.h>
#include <SPI.h>
#include <Ethernet.h>

byte mac = {0xC8, 0x9C, 0xDC, 0x94, 0x74, 0x2A };
IPAddress server(192,168,1,21);

IPAddress ip(192,168,1,249);
IPAddress subnet(255, 255, 255, 0);

EthernetClient client;
/////////////////////////////////
#define dataPin 10
#define clockPin 11
SHT1x sht1x(dataPin, clockPin);
unsigned long int milli_time; //variable to hold the time
float voltage; //variable to hold the voltage form A0

void setup() {
Serial.begin(19200);
Serial.println(“CLEARDATA”);
Serial.println(“LABEL,SAAT,ISI, NEM”);

//ethernet bağlantısı sağlama,
if (Ethernet.begin(mac) == 0)
{
Ethernet.begin(mac, ip);
}
delay(1000);
Serial.println(“connecting…”);
//

//LABEL command creates label for
// columns in the first row with bold font
}

void loop()
{
float temp_c;
float temp_f;
float humidity;
// Read values from the sensor
temp_c = sht1x.readTemperatureC();
temp_f = sht1x.readTemperatureF();
humidity = sht1x.readHumidity();

//Serial.print(“DATA,TIME,”);
//Serial.print(“Temperature: “);
//Serial.print(temp_c, DEC);
//Serial.print(” C “);
//Serial.print(”,”);
//Serial.print(“Humidity: “);
//Serial.print(humidity);
//Serial.println(”%”);

//web server yaz
if (client.connect(server, 80))
{
Serial.println(“connected”);

Serial.print(“DATA,TIME,”);
Serial.print(“Temperature: “);
Serial.print(temp_c, DEC);
Serial.print(” C “);
Serial.print(”,”);
Serial.print(“Humidity: “);
Serial.print(humidity);
Serial.println(”%”);

client.print(“GET /SicReg/temp.php?”);
client.print(“Temp=”);
client.print(temp_c);
client.print("&&");
client.print(“Nem=”);
client.print(humidity);
client.println(“HTTP/1.1”);
// client.println(“Connection: close”);
client.println();
}
else
{
Serial.println(“connection failed”);
}

client.stop();

// delay(1000); //Take samples every one second

}

  Serial.print(temp_c, DEC);A float can't manage the ten decimal places you asked to be printed. Lose the DEC.

Please remember to use code tags when posting code.

#define dataPin  10
#define clockPin 11
SHT1x sht1x(dataPin, clockPin);

How does the Arduino communicate with the Ethernet shield? Which pins are involved in that process?

              client.print("&&");

ONE &, not two.