sms using sending and receiving GSM Modem

Apr 3 2009 6:13 AM
Hi to all........
         
            User  first send sms to  server system(GSM Connect) from their mobile(it's done successfully).
         
           Here the problem occured. while server reconize the user request query and automatic reply the corresponding user.example (  For asking cricket news type  'CRICKET NEWS'  to  56547. After sending the message they will send the reply to our moblie)

         Like that I want to send the information  for the user  from database(SQL)