Tagged Questions
0
votes
0answers
16 views
Pagination code igniter
I'm using code igniter pagination library for my site. I've given all necessary details such as
$config['base_url'] = base_url().'collegelist/';
$config['prefix'] = 'collegelist/';
...
1
vote
2answers
12 views
code igniter SQL_CALC_FOUND_ROWS
How to get total number of rows for particular query and also limiting the query results to 10 rows. For example. I've a table called sample. It has 400 rows. On running a query like where name = ...
0
votes
1answer
34 views
Codeigniter clear session after user searches
I'm working with a search function that paginates the pages inside codeigniter. So I am saving the search term in a session so when you switch pages the term is still available. I am having a slight ...
0
votes
1answer
47 views
Codeigniter pagination create_link() display blank on view page
Codeigniter pagination create_link() display blank on view page..
When I echo pagination create_link from controller function it displays perfectly but when I try to echo it on view page it shows ...
0
votes
2answers
39 views
Pagination with Codeigniter not working
I have a problem with my codeigniter app. I have setup a controller method like so:
public function program_search()
{
$config['base_url'] = base_url().'/site/program_search/';
...
0
votes
0answers
21 views
codeigniter: pagination edit query
i have my pagination
Controller:
$this->load->library('pagination', TRUE);
$conf['base_url'] = "http://localhost/projecto/index.php/produto_serv_c/list_produto_serv";
...
0
votes
0answers
38 views
Pagination with CI
I'm trying to use pagination with CI, the problem is that, for example: I clicked the number 2 of pagination and it show me all the 7000 rows in one page.
My controller:
public function inicio() { ...
0
votes
4answers
61 views
codeigniter session is not working
I'm using codeigniter
i want to show some data taken form a database by querying as following.
$this->db->where('sex !=', $iam);
$this->db->where('sex', $searching_for);
...
0
votes
2answers
32 views
Codeigniter Paginition does not show result on 2 page
I am using Codeigniter pagination class for the first.
Controller :-
public function index($issue_id = 0)
{
if(empty($issue_id))
{
$config = array(
...
0
votes
1answer
21 views
CodeIgniter Pagination is not working with routing
I want to show all users page wise initially. So if I browse http://mydomain/user it will redirect to http://mydomain/user/page/1 and so on. But if I browse http://mydomain/user/1 it will show only ...
0
votes
2answers
56 views
$offset not working for pagination codeigniter
I am trying to implement Pagination into my searchresults page. I've asked this question yesterday with no succes Records not limited on searchpage using codeigniter pagination
and the problem I have ...
0
votes
1answer
57 views
codeigniter pagination get url
I have a site developed in codeigniter and in a page I want to use pagination.
The problem is. my url now is smoething like that:
http://site/index.php/tee/view_tee/?id=2
This is my code into the ...
1
vote
1answer
61 views
Records not limited on searchpage using codeigniter pagination
Situation
I have a searchform which redirects to a searchresults page in which I want to implement Codeigniter Pagination.
My limit is not working. So all the results are shown instead of my $limit = ...
-1
votes
1answer
38 views
Pagination with codeignator not working properly
i applied pagination but it shows whole result on one page or if i applied it with Limit
in my query then it is showing same 20 results on every page....plz help me
This is the Controller file:
...
1
vote
3answers
52 views
Codeigniter count_all for pagination
I'm trying to create pagination in codeigniter and I have it working, but I have a small issue. It seems to be loading all the entries in my database and not the selected ones I want.
public ...