Merhabalar iletişim formuna 2 adet alan ekledim
web site adresi: https://sigortateklifin.com/teklif

burada bir sorun yok daha sonra

kod eklemesini yaptım

forum kısmından da düzenledim ama saçma ki işlemiyor kodları bırakıyorum yardımcı olan arkadaşlar olursa çok sevinirim

php arka plan kodları
<?php

  $title       = "Online Teklif Al";
  $keywords    = $settings["site_keywords"];
  $description = $settings["site_description"];


  if( $_POST ){

    $name     = htmlspecialchars($_POST["name"]);
    $tc     = htmlspecialchars($_POST["tc"]);
    $dogum     = htmlspecialchars($_POST["dogum"]);
    $email    = htmlspecialchars($_POST["email"]);
    $telephone= htmlspecialchars($_POST["telephone"]);
    $subject  = htmlspecialchars($_POST["subject"]);
    $message  = htmlspecialchars($_POST["message"]);
  $captcha        = $_POST['g-recaptcha-response'];

      $googlesecret   = $settings["recaptcha_secret"];

    $captcha_control= cURL("https://www.google.com/recaptcha/api/siteverify?secret=$googlesecret&response=" . $captcha . "&remoteip=" . $_SERVER['REMOTE_ADDR']);
    $captcha_control= json_decode($captcha_control);

      if($settings["recaptcha"] == 2 && $captcha_control->success == false){
         $errorText= "Lütfen robot olmadığınızı doğrulayın.";
      }elseif(  empty($name) || empty($tc) || empty($dogum) ||  empty($email) || empty($telephone) || empty($message)  || empty($subject) ){
        $error    = 1;
        $errorText= "Lütfen boş alan bırakmayınız";
      }elseif( strlen(str_replace(' ','',$message)) < 10 ){
        $error    = 1;
        $errorText= "Mesaj içeriği minimum 10 karakter olabilir.";
      }else{

        $insert = $conn->prepare("INSERT INTO tickets SET customer_name=:customer_name, customer_tc=:customer_tc, customer_dogum=:customer_dogum, customer_email=:customer_email, customer_telephone=:customer_telephone, ticket_subject=:ticket_subject, ticket_date=:date ");
        $insert = $insert->execute(array("customer_name"=>$name,"customer_tc"=>$tc,"customer_dogum"=>$dogum,"customer_email"=>$email,"customer_telephone"=>$telephone,"ticket_subject"=>$subject,"date"=>date("Y.m.d H:i:s") ));
      
        if( $insert ){ $ticket_id = $conn->lastInsertId(); }
        
        if( $insert ):

        $successText= "Mesajınız alınmıştır, size en kısa sürede dönüş yapacağız.";


          if( $settings["alert_newticket"] == 2 ):
            if( $settings["alert_type"] == 3 ):   $sendmail = 1; $sendsms  = 1; elseif( $settings["alert_type"] == 2 ): $sendmail = 1; $sendsms=0; elseif( $settings["alert_type"] == 1 ): $sendmail=0; $sendsms  = 1; endif;
            if( $sendsms ):
              SMSUser($settings["admin_telephone"],"Websitenizde #".$ticket_id." idli yeni bir iletişim mesajı mevcut.");
            endif;
            if( $sendmail ):
              sendMail(["subject"=>"Yeni destek talebi mevcut.","body"=>"Websitenizde #".$ticket_id." idli yeni bir iletişim mesajı mevcut.","mail"=>$settings["admin_mail"]]);
            endif;
          endif;

        endif;
      }
  }
ön plan kodları
<section class="contact-area ptb-100">
   <div class="container">
      <div class="section-title">
         <span class="sub-title">
         <i class="flaticon-hashtag-symbol"></i>
         Online Teklif Al
         </span>
         <h2>5 DAKİKA İÇİN</h2>
         <p>Bizimle iletişime geçmek veya randevu almak için lütfen aşağıdaki formu doldurun.</p>
      </div>
      <div class="contact-form">
      <form method="POST" action="">
            <div class="row">
                        {% if errorText %}
            <div class="alert alert-dismissible alert-danger">
               {{ errorText }}
            </div>
            <hr>
        {% endif %}
        {% if successText %}
            <div class="alert alert-dismissible alert-success">
               {{ successText }}
            </div>
            <hr>
        {% endif %}
                
               <div class="col-lg-4 col-md-6">
                  <div class="form-group">
                     <input type="text" name="name" id="name" class="form-control" required data-error="Lütfen ad soyad yazınız" placeholder="Ad Soyad" required>
                     <div class="help-block with-errors"></div>
                  </div>
               </div>
               <div class="col-lg-4 col-md-6">
                  <div class="form-group">
                     <input type="text" name="tc" id="tc" class="form-control" required data-error="Lütfen ad soyad yazınız" placeholder="11 Haneli T.C Kimlik Numarası" required>
                     <div class="help-block with-errors"></div>
                  </div>
               </div>
               <div class="col-lg-4 col-md-6">
                  <div class="form-group">
                     <input type="text" name="dogum" id="dogum" class="form-control" required data-error="Doğum Tarihi 11/11/1111" placeholder="Doğum Tarihi 11/11/1111" required>
                     <div class="help-block with-errors"></div>
                  </div>
               </div>
               <div class="col-lg-4 col-md-6">
                  <div class="form-group">
                     <input type="email" name="email" id="email" class="form-control" required data-error="Lütfen e-posta adresi yazınız" placeholder="E-Posta Adresi" required>
                     <div class="help-block with-errors"></div>
                  </div>
               </div>
               <div class="col-lg-4 col-md-12">
                  <div class="form-group">
                     <input type="text" name="telephone" id="phone_number" required data-error="Lütfen telefon numarası yazınız" class="form-control" placeholder="Telefon Numarası" required>
                     <div class="help-block with-errors"></div>
                  </div>
               </div>
               <div class="col-md-12 col-lg-12">
                  <div class="form-group">
                     <input type="text" name="subject" id="phone_number" required data-error="Lütfen mesaj başlığı yazınız" class="form-control" placeholder="Teklif İstediğiniz Sigorta / KASKO / ARABA / KONUT / SAĞLIK türü VB" required>
                     <div class="help-block with-errors"></div>
                  </div>
               </div>
              
                  {% if captcha %}
                    <div class="form-group">
                      <div class="g-recaptcha" data-sitekey="{{ captchaKey }}"></div>
                    </div>
                  {% endif %}

              
               <div class="col-md-12 col-lg-12">
                  <button type="submit" class="default-btn ">Mesajı Gönder</button>
                  <div class="clearfix"></div>
               </div>
            </div>
         </form>
      </div>