How to send data to a server from arduino2560 using GSM SIm900a

i have tried many code one of which is

#include <SoftwareSerial.h>
SoftwareSerial myGsm(16,17);

void setup()
{
myGsm.begin(9600);
Serial.begin(9600);
delay(500);

myGsm.println("AT+CIPSHUT");
delay(1000);
printSerialData();

myGsm.println("AT+CIPMUX=0");
delay(2000);
printSerialData();

myGsm.println("AT+CGATT=1");
delay(1000);
printSerialData();

myGsm.println("AT+CSTT="mysql.hostinger.in","",""");//setting the APN,2nd parameter empty works for all networks
delay(5000);
printSerialData();

myGsm.println();
myGsm.println("AT+CIICR");
delay(6000);
printSerialData();

myGsm.println("AT+CIFSR"); //init the HTTP request
delay(2000);
printSerialData();

myGsm.println("AT+CIPSTART="TCP","185.28.20.17","80"");
delay(5000);
printSerialData();
delay(5000);
//int GET,http;
myGsm.println("AT+CIPSEND=");
myGsm.write("GET http:://itc06.16mb.com/trial1.php?pump1=777&motor1=777");
myGsm.write(0x1A);
delay(2000);
printSerialData();

delay(3000);
printSerialData();
//sendtemp();
delay(3000);
myGsm.println("AT+CIPCLOSE");
printSerialData();

myGsm.println("AT+CIPSHUT");
delay(1000);
printSerialData();
}

void loop()
{
}

void printSerialData()
{
while(myGsm.available()!=0)
Serial.write(myGsm.read());
}

which is of no use....

I have used same GSM module for SMS function from Serial2 , which i sucessfully executed.

but when i try with Serial/Serial2 for GPRS iam not getting any results nor any errors...
I have connected GSM Tx,Rx on D16,D17 of my Atmega2560 IC

Below are few AT commands through which i have sent data to server databse....

Checking registration status...

AT+CREG?

+CREG: 1,1

OK
The device is registered in home network.

Checking if device is already connected...

AT+CGACT?

+CGACT: 1,0
+CGACT: 3,0

OK
AT+CMEE=1

OK
Attaching to network...
AT+CGATT=1

OK

Setting up APN for TCP connection...

AT+CSTT="mysql.hostinger.in"

+CME ERROR: 3
Bring up GPRS Connection...

AT+CIICR

+CME ERROR: 3

AT+CIFSR

10.192.77.200
AT+CIPSTART="TCP","31.220.16.153","80"

OK

CONNECT OK
TCP connection success

Sending TCP data

AT+CIPSEND

GET http://itc06.16mb.com/trial1.php?pump1=ds=7894&motor1=ds000

SEND OK
Connected successfullyNew record created successfully
CLOSED

But when i use these AT commands in Arduino...iam getting no Result.....please help me with the Arduino code

Hi. I don't really have worked on GSM Modules, but I faced a similar problem recently while working with bluetooth and ethernet module. Later on I found out that the tx rx pins i defined for the bluetooth in SoftwareSerial were being used by default by the ethernet module, hence causing an error. Please let me know if it helps.