For Example i will fill the contct form online ...... With My Details Like For Example :--

Name : Sai Ram
Age : 133
Phone number : 9482594120



And when i press submit i should get a msg to the Submitted Phone Number (( $phone number ) telling

""" Dear $Name Thank You For Contact Us ... ur Age Has Been Registered With Us As $Age. """

the output Msg to submited Phone number Is
Dear SAI RAm Thank You For Contact Us ... ur Age Has Been Registered With Us As 133.
Like This I need So plz help me......



<--------------------------------------------------------------------------------->
Here Is Sms Code API From The Provider ...... If i fill the form and try to submit iam not reciving the msg plz help me...... I Have mentioned the Working Key Also Plz ucan test it with ur phone number.............. If it is out of india i think it will not work but any how plz help me with this code




<?php

include 'sendsms.php';
$sms_config = array();

$sms_config['api_url'] = 'http://alerts.3mdigital.co.in/api/web2sms.php';
$sms_config['sender_id'] = 'SRISAI';
$sms_config['working_key'] = '69940yiq7s6m29mlm6e2';


$dlr_url = 'http://way2cab.com/testsms.php';// give your required url here
$to = $phone;
$message = 'Dear $Name Thank You For Contact Us ... ur Age Has Been Registered With Us As $Age.
Worlds Biggest Marble Idol Of Shirdi Sai Baba
www.saisamsthana.org Sai Baba Mandir, M.S Ramaiah
City, -9845684783/9686866299, jaiguru6@gmail.com';


$sendsms=new sendsms($sms_config['api_url'] ,$sms_config['working_key'],$sms_config['sender_id']);
$sendsms->send_sms($to, $message,$dlr_url);



?>