From 6ac53e884b630dac8f52f33609e8f5e416e50049 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 24 Aug 2021 14:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/test.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/application/controllers/test.php b/application/controllers/test.php index 06d74e76..2163f22f 100644 --- a/application/controllers/test.php +++ b/application/controllers/test.php @@ -10,15 +10,19 @@ class Test extends CI_Controller { parent::__construct(); $this->load->model('feedback_model'); + $this->load->model('Information_model'); } public function feedback() { + $is_id = $this->input->get_post('is_id'); $template_path = 'mobile_first/ch'; + $information = $this->Information_model->Detail($is_id); + $feedback_array = array(); - preg_match_all('^^', '
', $feedback_array); + preg_match_all('^^', $information->ic_content, $feedback_array); if (!empty($feedback_array)) { foreach ($feedback_array[0] as $index => $tag_name) { $city_name = $feedback_array[1][$index];