Create Multi-Level User Login in CodeIgniter and Bootstrap [4]


[ad_1]
https://i.ytimg.com/vi/62eBac1Vs5c/hqdefault.jpg



Tahap 4 – Tutorial POS :
Pembuatan login multi user sekaligus multi level dengan menggunakan framework codeigniter, database mariadb/mysql, dan template bootstrap adminlte.

#tutorialPOS #loginCI #yukcoding

Tutorial menarik lainnya :

Home

Follow Instagram : https://instagr.am/yukcoding
Forum Telegram : https://t.me/yukcodingid

Original source


46 responses to “Create Multi-Level User Login in CodeIgniter and Bootstrap [4]”

  1. A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: username

    Filename: models/User_m.php

    Line Number: 9

    Backtrace:

    File: C:wamp64wwwmyposapplicationmodelsUser_m.php
    Line: 9
    Function: _error_handler

    File: C:wamp64wwwmyposapplicationcontrollersAuth.php
    Line: 16
    Function: login

    File: C:wamp64wwwmyposindex.php
    Line: 315
    Function: require_once
    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: password

    Filename: models/User_m.php

    Line Number: 10

    Backtrace:

    File: C:wamp64wwwmyposapplicationmodelsUser_m.php
    Line: 10
    Function: _error_handler

    File: C:wamp64wwwmyposapplicationcontrollersAuth.php
    Line: 16
    Function: login

    File: C:wamp64wwwmyposindex.php
    Line: 315
    Function: require_once
    login gagal

    Error' disini min gimana ya

  2. Gan, ketika saya memasukan username nya salah dan password benar, muncul notifnya, username salah, dan itu sebalik nya gmn gan?
    Soal nya saya nanya d grup TELEGRAM gk ada yg bisa jawab

  3. terimakasi kakkk karena video ini bantu projek aku buat ta:')) sempet eror karena setelah login pagenya kosong tapi itu karena kurangnya button login wkwkkk terus update ya kakk!!!!

  4. punyaku kok gak muncul apa apa ya?

    <?php

    defined('BASEPATH') OR exit('No direct script access allowed');

    class Auth extends CI_Controller {

    public function login()

    {

    $this->load->view('login');

    }

    public function process()

    {

    $post = $this->input->post(null, TRUE);

    if(isset($post['login'])) {

    $this->load->model('user_m');

    $query = $this->user_m->login($post);

    if($query->num_rows() > 0) {

    $row = $query->row();

    $params = array(

    'userid' => $row->user_id,

    );

    } else{

    echo "login gagal";

    }

    }

    }

    }

  5. Kak, kenapa di saya username dan password salah bisa masuk ke proses tapi echo login gagal tidak muncul, begitu pun sama jika username dan password benar, echo login berhasil tidak muncul, sudah saya teliti dan sama persis :') mohon pencerahannya

Leave a Reply