Codeigniter 4 Ajax CRUD with Server Side DataTable | Save data into database

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2024

ความคิดเห็น • 16

  • @pusho.developers
    @pusho.developers 6 หลายเดือนก่อน

    Gracias nuevamente maestro, he seguido tus videos y a la verdad me va super genial

  • @valerozi7981
    @valerozi7981 3 ปีที่แล้ว +1

    many thanks from Indonesia

  • @TheZx9man
    @TheZx9man ปีที่แล้ว +1

    Very useful.

  • @erickezra4492
    @erickezra4492 2 ปีที่แล้ว

    Bro, how to make list of countries show the data

  • @Vikaskumar-ur5di
    @Vikaskumar-ur5di ปีที่แล้ว

    which vs code plugin used for bootstrap auto generate code using short key

    • @sawastacks
      @sawastacks  ปีที่แล้ว

      search bootstrap 4 extension

  • @achmaddito2626
    @achmaddito2626 ปีที่แล้ว

    How to use if join table ?

  • @kangtarno6597
    @kangtarno6597 3 ปีที่แล้ว

    Thanks tutorial..from Indonesia
    Please request add to report export to Excel and generate barcode..

  • @ekoitsolution5774
    @ekoitsolution5774 2 ปีที่แล้ว

    Hi, thanks for the tutorial, I want ask, how to use $joinQuery if i have join 2 table for show, thanks before

  • @rizkyibrahim3255
    @rizkyibrahim3255 3 ปีที่แล้ว

    why my message not showing ?
    $query = $ins->insert($data);
    if($query){
    echo json_encode(['code'=>1,'msg'=>'Data telah berhasil ditambahkan.']);
    }else{
    echo json_encode(['code'=>0,'msg'=>'Data tidak berhasil ditambahkan']);
    }
    }

    • @sawastacks
      @sawastacks  3 ปีที่แล้ว

      your are using two curry braces at the end

    • @rizkyibrahim3255
      @rizkyibrahim3255 3 ปีที่แล้ว

      @@sawastacks {
      $data = [
      'nik'=>$this->request->getPost('nik'),
      'nama_instruktur'=>$this->request->getPost('nama_instruktur'),
      'email'=>$this->request->getPost('email'),
      'telepon'=>$this->request->getPost('telepon'),
      ];
      $query = $ins->insert($data);
      if($query){
      echo json_encode(['code'=>1,'msg'=>'Data telah berhasil ditambahkan.']);
      }else{
      echo json_encode(['code'=>0,'msg'=>'Data tidak berhasil ditambahkan']);
      }
      }

  • @emmanuelkaramira5223
    @emmanuelkaramira5223 3 ปีที่แล้ว +1

    Yego nisawa ndabibona nezakabisa

    • @sawastacks
      @sawastacks  3 ปีที่แล้ว

      Ewana nsigaye ntwika!