Snippet Preview


    if(isset($_POST['yourmobile'])){
    $phonee=$_POST['yourmobile'];
    $namee=$_POST['yourname'];
    $msg=$_POST['msg'];
    $sms="Name: ";
    $sms.=$namee;
    $sms.="nMobile: ";
    $sms.=$phonee;
    $sms.="nn";
    $sms.=$msg;
    $smsf=urlencode($sms);
    $newURL="https://api.whatsapp.com/send?phone=6593803123&text=";
    $newURL.=$smsf;
    header('Location: '.$newURL);
    }
    ?>