From 62be7ded0c07b613eb5fe64457a810e7aff9aa4b Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 2 Aug 2018 10:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0ID=E5=92=8CURL=E3=80=81Title?= =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/welcome.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 22c8ef69..73dc33b3 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -196,10 +196,12 @@ class Welcome extends CI_Controller { } public function count_redirect_nofllow() { - $data['all_information'] = + $include_redirece_info = $this->Information_model->search_all_text('.htm&t=78002', 2000); - echo 'count: '.count($data['all_information']).'
'; - var_dump($data['all_information']); + echo 'count: '.count($include_redirece_info).'
'; + foreach ($include_redirece_info as $info) { + echo '('.$info->ic_id.','.$info->is_id.')'.$info->ic_url.' | '.$info->ic_title.'
'; + } } public function count_http_of_href() {