aurduino+php+ethernet

hi i have to upoload bmp 180 sensor values to the website but i am not getting sensor values on website can any one please help me. here is the aurduino code

#include <SFE_BMP180.h>
#include <Wire.h>
#include <SPI.h>
#include <Ethernet.h>
#include <Servo.h>
SFE_BMP180 pressure;
#define ALTITUDE 1655.0
Servo myservo;

byte mac[] = { 0x98, 0x4F, 0xEE,0x01, 0x65, 0x4E };
IPAddress ip(192,168,19,170);

char server[] = "192.168.19.171";

EthernetClient client;

void setup() {

pressure.begin();
Serial.begin(9600);
while (!Serial) {
;
}

Ethernet.begin(mac,ip);

}

void loop() {

char status;
double T,P,p0,a;

status = pressure.startTemperature();

if (status != 0)
{
// Wait for the measurement to complete:
delay(status);

// Retrieve the completed temperature measurement:
// Note that the measurement is stored in the variable T.
// Function returns 1 if successful, 0 if failure.

status = pressure.getTemperature(T);
if (status != 0)
{

status = pressure.startPressure(3);
if (status != 0)
{
//a = pressure.altitude(P,p0);
// Wait for the measurement to complete:
delay(status);

status = pressure.getPressure(P,T);
if (status != 0)
{
// Print out the measurement:

p0 = pressure.sealevel(P,ALTITUDE);
a = pressure.altitude(P,p0);

}
}
}
}

if (client.connect(server, 80))
{
Serial.println("Connection: done");
client.print("GET smart/data.php?");// This

client.println(" HTTP/1.0"); // Part of the GET request
client.println("Host:192.168.19.171");
client.println("Connection: close"); // Part of the GET request telling the server that we are over transmitting the message
client.println(); // Empty line
client.println(); // Empty line
client.stop(); // Closing connection to server

}

else {
// If Arduino can't connect to the server (your computer or web page)
Serial.println("--> connection failed\n");
}

// Give the server some time to recieve the data and store it. I used 10 seconds here. Be advised when delaying. If u use a short delay, the server might not capture data because of Arduino transmitting new data too soon.
delay(1000);
}

What is the format of the URL that you would enter into a web browser to upload your sensor data.
It will be in the example format:
http://192.168.19.171/smart/data.php?pressure=1.02&temp=19.4

http://192.168.19.171//smart/data.php?T=5&P=0&H=555

if we give like this
it is inserting 5 0 and 555
it is ok

but sensor values are not uploading into website

data.txt (453 Bytes)

now its working but its displaying only temparature value ,but i want to display pressure value also..

can anyone help me for modifing the "GET" statement in this aurduino code

#include <SFE_BMP180.h>
#include <Wire.h>
#include <SPI.h>
#include <Ethernet.h>
#include <Servo.h>
SFE_BMP180 pressure;
#define ALTITUDE 1655.0
Servo myservo;

byte mac[] = { 0x98, 0x4F, 0xEE,0x01, 0x65, 0x4E };
IPAddress ip(192,168,19,170);

//EthernetServer server(80);
//int i=0;
//int j=0;
//int counter=0;
//int count=0;
//int temp,t1,t2;
//int mincount=0;
char server[] = "192.168.19.171"; // IMPORTANT: If you are using XAMPP you will have to find out the IP address of your computer and put it here (it is explained in previous article). If you have a web page, enter its address (ie. "www.yourwebpage.com")

// Initialize the Ethernet server library
EthernetClient client;

void setup() {

pressure.begin();
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
// Serial.begin starts the serial connection between computer and Arduino

// start the Ethernet connection
Ethernet.begin(mac,ip);

}

void loop() {

char status;
double T,P,p0,a;

status = pressure.startTemperature();

if (status != 0)
{
// Wait for the measurement to complete:
delay(status);

// Retrieve the completed temperature measurement:
// Note that the measurement is stored in the variable T.
// Function returns 1 if successful, 0 if failure.

status = pressure.getTemperature(T);
if (status != 0)
{

status = pressure.startPressure(3);
if (status != 0)
{
//a = pressure.altitude(P,p0);
// Wait for the measurement to complete:
delay(status);

status = pressure.getPressure(P,T);
if (status != 0)
{
// Print out the measurement:

p0 = pressure.sealevel(P,ALTITUDE);
a = pressure.altitude(P,p0);

}
}
}
}

if (client.connect(server, 80))
{
Serial.println("Connection: done");

client.print("GET /smart/data.php?T=");// This
client.print(T);
//client.println();
//client.print("GET /smart/data.php?T=");// This
//client.print(T);

// client.print("P");
client.println(" HTTP/1.0"); // Part of the GET request
//client.println("Host:192.168.19.171"); // IMPORTANT: If you are using XAMPP you will have to find out the IP address of your computer and put it here (it is explained in previous article). If you have a web page, enter its address (ie.Host: "www.yourwebpage.com")
//client.println( "Content-Type: application/x-www-form-urlencoded" );
//client.println("Connection: close"); // Part of the GET request telling the server that we are over transmitting the message
client.println(); // Empty line
client.println(); // Empty line
client.stop(); // Closing connection to server

}

else {
// If Arduino can't connect to the server (your computer or web page)
Serial.println("--> connection failed\n");
}

// Give the server some time to recieve the data and store it. I used 10 seconds here. Be advised when delaying. If u use a short delay, the server might not capture data because of Arduino transmitting new data too soon.
delay(1000);
}

You can try something like this for the main part:

if (client.connect(server, 80))
  {
    Serial.println("Connection: done");
   
    client.print("GET /smart/data.php?T=");// This
    client.print(T);
    client.print("&");
    client.print("P=");
    client.print(P);
    client.print("&");
    client.print("H=");
    client.println(a);
    client.println(" HTTP/1.0"); // Part of the GET request
    client.println("Host:192.168.19.171"); // IMPORTANT: If you are using XAMPP you will have to find out the IP address of your computer and put it here (it is explained in previous article). If you have a web page, enter its address (ie.Host: "www.yourwebpage.com")
   //client.println( "Content-Type: application/x-www-form-urlencoded" );
    client.println("Connection: close"); // Part of the GET request telling the server that we are over transmitting the message
    client.println(); // Empty line
    client.println(); // Empty line
    client.stop();    // Closing connection to server

  }

If you post any more code, use code tags so it displays nicely here.
I guess you have tried to follow the basic example: https://www.arduino.cc/en/Tutorial/WebClient

If you cannot get your URL http://192.168.19.171//smart/data.php?T=5&P=0&H=555 (why the extra slash after 171?) to work in a web browser on a client (PC, smartphone etc.) connected to your local network, there is no point in playing with this sketch until you've sorted that problem out.

thank you its working fine now .