Created
March 16, 2015 16:21
-
-
Save cesarkohl/513b28263c34dfeb29b0 to your computer and use it in GitHub Desktop.
CodeIgniter Pagination URL with GET Parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://subhra.me/codeigniter-pagination-url-get-parameters/ | |
if (count($_GET) > 0) $config['suffix'] = '?' . http_build_query($_GET, '', "&"); | |
$config['first_url'] = $config['base_url'].'?'.http_build_query($_GET); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment