Help: arduino php mysql (electronic toll booth)

Here's a function I use to send temperature data to a web server:

void  SendTempToServer()
{ // Use a GET to pass the temp we received to Natasha
char GetRequest[80];
if (client.connect(server, 80))
  {
  sprintf(GetRequest,"GET /cgi-bin/Arduino.cgi?Reading=%s&arduino_id=23&sensor_id=1",Temperature);
  //Serial.println(GetRequest);
  client.println(GetRequest);
  client.println();
  }
}

Something similar should be what you need.