Data Sending problem from arduino to mysql localhost

Hi Everyone

I am able to connect my arduino to my localhost mysql server but when i send data through php
data is not store in mysql server. So their is a problem in sending data to mysql server.
So please help me

I am able to connect my arduino to my localhost mysql server

Post the code that does that. Post the library you are using to run MySQL on the Arduino. A LOT of people would be interested in that.

localhost means that the client and the server are the same machine. The Arduino can NOT be the client in that scenario if MySQL is running on the PC. MySQL can't run on the Arduino, so it can't be the server in that scenario.

Try again.