Send data to MySQL (Arduino Uno, Eth shield W5100, IR obstacle sensor) [solved]

I'm sorry. I thought that the empty space doesn't affect anything. I already get rid of the spaces.

6v6gt:
No, I am not suggesting you attempt to include status.php in your code. I was just wondering why you posted it here since it is not (yet) used.

I can't see from the output if the values of sensor1, sensor2 or sensor3 got into the database. If they did, is your problem then solved ?

I posted it just to make sure there's nothing wrong in my code to retrieve the data, but actually, it can successfully retrieve the data in the database and display it in my website.

http://192.168.0.121/arduino/getdata.php?sensor1=91&sensor2=92&sensor3=93

When I do this, the output is successfully stored in MySQL database. The sensor data that is shown in the serial monitor is not yet successfully stored in my database. So, the problem is still remain the same. I wonder if there's a problem in any of my code.