codeigniter 4 create table code example
Example 1: codeigniter table list
$tables = $this->db->list_tables();
foreach ($tables as $table)
{
echo $table;
}
Example 2: codeigniter create table
$forge->createTable('table_name', TRUE);
// gives CREATE TABLE IF NOT EXISTS table_name