Files
2026-04-15 15:23:57 +07:00

23 lines
451 B
PHP

<?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);
}
}