codeigniter 4 example project with login logout
Example 1: codeigniter 4 login example
<?php namespace App\Controllers;
use CodeIgniter\Controller;
class Home extends Controller
{
public function index()
{
return view('welcome_message');
}
}
Example 2: codeigniter 4 login example
<?php namespace App\Controllers;
use CodeIgniter\Controller;
class Home extends Controller
{
public function index()
{
return render('welcome_message');
}
}