Batch 6a: application controllers base

This commit is contained in:
sas.fajri
2026-04-15 15:23:57 +07:00
parent 44b14b20a3
commit 3784d9ee28
1553 changed files with 1307399 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
class Json extends MY_Controller
{
function __construct()
{
parent::__construct();
}
function index()
{
$sql = "select * from one_log.log_process where Log_ProcessID = 131684";
$qry = $this->db->query($sql);
if (!$qry) {
echo $this->db->error()["message"];
exit;
}
$rows = $qry->result_array();
$inp = $rows[0]["Log_ProcessJson"];
$data = json_decode($inp, true);
print_r($data);
}
}