GPS/GPRS problem

hi

iam building a tracking device by using sim900 GPRS and sparkfun em406 GPS and i built my site and designed it to receive data from the url and add it to database but i have a problem how to add the coordinates as a parameter text in the url in the http request command mySerial.println("AT+HTTPPARA=\"URL\",\"www.mysite.com\\dat.php");// setting the httppara, the second parameter is the website you want to access

You can't add variables to this:

mySerial.println("AT+HTTPPARA=\"URL\",\"www.mysite.com\\dat.php");// setting the httppara, the second parameter is the website you want to access

You could do something like this:

char buffer[120];
sprintf(buffer, "AT+HTTPPARA=\"URL\",\"www.mysite.com\\dat.php?val1=%d&val2=%d", val1, val2);
mySerial.println(buffer);

assuming that val1 and val2 are defined as ints.

If you had something else in mind, we're not mind readers.