CodeIgniter Forums
Codeigniter - Indonesia Community - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Regional User Groups (https://forum.codeigniter.com/forumdisplay.php?fid=25)
+--- Thread: Codeigniter - Indonesia Community (/showthread.php?tid=544)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: Codeigniter - Indonesia Community - muhtoha - 05-28-2021

bang, mau tanya untuk membuat urutan data di dari angka besar ke kecil atau sebaliknya di pagination codeigniter 4 bagaimana ya?


RE: Codeigniter - Indonesia Community - aahas - 08-20-2021

selamat siang senior dan para suhu..
mau tanya nih, saya masih pake CI 3, pake Wamp sever, tiba2 waktu akses project muncul notifikasi This site can’t be reached, localhost refused to connect.
tetapi untuk buka phpmyadmin lancar jaya, saya coba buka project native php (gak pake CI), bisa juga.
mohon solusinya dari para senior dan para suhu.. terima kasih..


RE: Codeigniter - Indonesia Community - cocix - 11-08-2021

(08-20-2021, 12:02 AM)aahas Wrote: selamat siang senior dan para suhu..
mau tanya nih, saya masih pake CI 3, pake Wamp sever, tiba2 waktu akses project muncul notifikasi This site can’t be reached, localhost refused to connect.
tetapi untuk buka phpmyadmin lancar jaya, saya coba buka project native php (gak pake CI), bisa juga.
mohon solusinya dari para senior dan para suhu.. terima kasih..

Coba check log file apache / php.
set CI_ENVIRONMENT = development di .env buat display error.


RE: Codeigniter - Indonesia Community - dewaz - 11-09-2021

salam kenal dan mohon bimbingannya para master


RE: Codeigniter - Indonesia Community - [email protected] - 12-12-2021

(11-13-2020, 02:03 AM)nuja Wrote:
(08-19-2020, 06:03 PM)pembalap Wrote: Assalamualaikum
Salam kenal teman-teman senior di forum ini. Mudah-mudahan kita bisa berbagi, apalgi di tengah pandemi dan tak bisa bertatap muka secara langsung
bang mau tanya, abang belajar CI nya yang 3 atau 4 ? saya baru mau mulai soalnya minta sarannya juga dong, terima kasih

Salam kenal semua..
Saran saya lebih baik langsung ke CI4 saja.
Dari segi performance cuman beda sedikit antara CI3 - CI4.
CI3 lebih cepat tentu karena CI4 sudah banyak ketambahan fitur.
Tapi menurut saya CI4 masih tetap fast + lebih secure lagi.


RE: Codeigniter - Indonesia Community - ronysumardi - 01-10-2022

klo mau post minta bantuan dimana ya man teman
masi bingung
thanks


RE: Codeigniter - Indonesia Community - Rama Can - 01-14-2022

mungkin disini, tapi ada baiknya juga post di region global


RE: Codeigniter - Indonesia Community - inisaya - 06-24-2022

haloo semua. mau nanya nih kawan2. mohon bantuannya ya.
//ini viewnya//

Code:
$no = 1;
                  $asked = $this->db->query("SELECT * FROM kuisioner where id_dimensi = '" . $ks['id'] . "'",);
                  foreach ($asked->result_array() as $ask) {
                  ?>
                    <input type="text" name="<?= $this->session->userdata('nama'); ?>" value="<?= $this->session->userdata('nama'); ?>">
                    <tr>

                      <td bgcolor=#F9EDED align="center">
                        <font face="Calibri" size="3"><?= $no ?></font>
                      </td>
                      <td bgcolor=#F9EDED>
                        <font face="Calibri" size="3"><?= $ask['pertanyaan'] ?></font>
                      </td>

                      <td bgcolor=#F9EDED align="center">
                        <input name="p[<?= $ask['id_kuisioner'] ?>]" type="radio" value="1" required>
                      </td>
                      <td bgcolor=#F9EDED align="center">
                        <input name="p[<?= $ask['id_kuisioner'] ?>]" type="radio" value="2" required>
                      </td>
                      <td bgcolor=#F9EDED align="center">
                        <input name="p[<?= $ask['id_kuisioner'] ?>]" type="radio" value="3" required>
                      </td>
                      <td bgcolor=#F9EDED align="center">
                        <input name="p[<?= $ask['id_kuisioner'] ?>]" type="radio" value="4" required>
                      </td>

                      <td bgcolor=#F9EDED align="center">
                        <input name="i[<?= $ask['id_kuisioner'] ?>]" type="radio" value="1" required>
                      </td>
                      <td bgcolor=#F9EDED align="center">
                        <input name="i[<?= $ask['id_kuisioner'] ?>]" type="radio" value="2" required>
                      </td>
                      <td bgcolor=#F9EDED align="center">
                        <input name="i[<?= $ask['id_kuisioner'] ?>]" type="radio" value="3" required>
                      </td>
                      <td bgcolor=#F9EDED align="center">
                        <input name="i[<?= $ask['id_kuisioner'] ?>]" type="radio" value="4" required>
                      </td>
                    </tr>


jika view saya begini, di controller untuk syntax simpan dan tambah data ke database nya gimana ya kawan2?

Code:
sebelumnyya saya buat controller seperti dibawah ini 

Code:
public function add()
  {
    $data = [
      'nama_responden' => $this->input->post('nama'),
      'p1' => $this->input->post('p1'),
      'p2' => $this->input->post('p2'),
      'p3' => $this->input->post('p3'),
      'p4' => $this->input->post('p4'),
      'p5' => $this->input->post('p5'),
      'p6' => $this->input->post('p6'),
      'p7' => $this->input->post('p7'),
      'p8' => $this->input->post('p8'),
      'p9' => $this->input->post('p9'),
      'p10' => $this->input->post('p10'),
      'p11' => $this->input->post('p11'),
      'p12' => $this->input->post('p12'),
      'p13' => $this->input->post('p13'),
      'p14' => $this->input->post('p14'),
      'p15' => $this->input->post('p15'),
      'i1' => $this->input->post('i1'),
      'i2' => $this->input->post('i2'),
      'i3' => $this->input->post('i3'),
      'i4' => $this->input->post('i4'),
      'i5' => $this->input->post('i5'),
      'i6' => $this->input->post('i6'),
      'i7' => $this->input->post('i7'),
      'i8' => $this->input->post('i8'),
      'i9' => $this->input->post('i9'),
      'i10' => $this->input->post('i10'),
      'i11' => $this->input->post('i11'),
      'i12' => $this->input->post('i12'),
      'i13' => $this->input->post('i13'),
      'i14' => $this->input->post('i14'),
      'i15' => $this->input->post('i15')

    ];

    $this->db->insert('respon_kuisioner', $data);
    $this->session->set_flashdata('message', '<div class="alert alert-success" role="alert">
      Jawaban sudah di input
    </div>');
    redirect('responden/dashboard');
  }

tapi malah pesan errornya database error karena data yang udah input gk kebaca alias null.

jadi gimana ya solusi untuk controller nya kawan

btw ini saya pake CI3 
tolong direspon ya kwn2. program skripsi soalnya wkwk



RE: Codeigniter - Indonesia Community - zhentro - 07-03-2022

Salam kenal suhu - suhu skalian pengguna baru CI4


RE: Codeigniter - Indonesia Community - myads - 08-26-2022

salam kenal