You can get the total data into an array. Then slice your array according to your pagination limit.
foreach ($group_all as $group) { $data_form_model[$a] = $this->admin_model->all_number_model($group->group_name); $data_form_model_group_name[$a] = $group->group_name; $a++; } $final_array = array(); foreach ($data_form_model as $val) { foreach ($val as $val2) { $final_array[] = $val2; } } $config = array(); $config["base_url"] = base_url() . "admin/all_number/"; $config["total_rows"] = count($final_array); $config["per_page"] = 10; $config["uri_segment"] = 3; $config['num_links'] = 3; $config['full_tag_open'] = ''; $config['first_link'] = '«'; $config['first_tag_open'] = ''; $config['full_tag_close'] = '
List of my works:
Technical Support:
If you still face the technical problem, please get support of our highly skilled technical team: garazlab.com.
Wordpress Plugins:
If you still face the technical problem, please get support of our highly skilled technical team: garazlab.com.
Wordpress Plugins:
- Real-Time Health Data from Every Where:WP plugin to display real-time health data & increase sale by promoting user specific products according to health information: garazlab.com.
- Woocommerce Stock Notification Builder:Sends desktop, mobile & email notifications with full customization.Build your own product notification system with it: garazlab.com.
Opencart Extensions:
- Product Based Quantity Wise Shipping: Find it here.
- OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
- Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
- Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
- Custom Field Product - add unlimited custom fields to the product form: Find it here.
- Formcaptcha - add captcha on the register page: Find it here.