Most voted "paging" questions
Paging is the process of dividing information into separate pages. Paging is often used for the purpose of printing or searching information.
Learn more…174 questions
Sort by count of
-
1
votes3
answers776
viewsPDO paging - Problems with prepare(); select();
Hello, I’m having trouble printing table data. Updating: I inserted the following lines in the file php connection.: public function select(){ $sth = $this->prepare("SELECT id_prato, titulo,…
-
1
votes1
answer933
viewsDatatable checkbox in Pagination table
I am making a table with Datatable and paging, but I need it to have a checkbox in each row the problem is that when I have selected all, it only selects the first page, the others have no effects.…
-
1
votes1
answer312
viewsVariable does not work in paging
I am trying to build a pagination on a report that I own, but I have the following problem. There is the variable $situacao, which comes via POST, which is necessary for the generation of the…
-
1
votes2
answers3824
viewsPaging with Spring Framework
I have a question, I need to make a pagination when I return all the records of a table, I don’t have much experience with Spring and I would like to know how it is done, I need to overwrite…
-
1
votes1
answer300
viewsAngular and mysql paging logic
I would like to know how to implement a database paging logic using mysql and angular on the front end with ui-bootstrap or dirPagination. For example, taking 10 out of 10 in the bank using LIMIT…
-
1
votes0
answers370
viewsHow to put the "old posts" and "recent posts" option in this code?
The maximum posts that appear by the code of my blog are 6, but I would like to put the options of "previous posts" and "recent posts", the way I had managed had been strange because it did not…
-
1
votes1
answer74
viewsQuery string paging with codeigniter
How do I search with pagination using query string in Codeigniter? I’m trying to search in the documentation but couldn’t find it! I have following scenario:…
-
1
votes1
answer262
viewsHow to add #ancora at the end of the URL (with codeigniter paging)
How do I add the anchor id at the end of the url? at this time my url is the following: http://localhost/php_focas/index.php? per_page=3 I needed it to be this way:…
-
1
votes1
answer763
viewsPersist search parameter in codeigniter paging
Hello, I’m making a search system for a store with codeigniter, paging is working, but when you change the page you lose the search parameter, I would like to know how to persist the search so that…
-
1
votes3
answers237
viewsDoubt with pagination in Asp.net
Does anyone know how to implement a pagination or would have an example using this architecture https://github.com/cleytonferrari/PadraoDeRepositorio/tree/master/TISelvagem I would like to use the…
-
1
votes1
answer330
viewsJavascript script adaptation 'show more'
I’m using a script that was posted here in stackoverflow, which is to limit the display of posts accompanied by a 'show more' link, to load another amount of posts. Follows the LINK Note: If…
-
1
votes0
answers282
viewsProblem with paging due to loading of Gridview and Dropdownlist on the same Page.Postback
Next, I have a gridview that it needs to be inside a postback to be able to perform an update when selecting a checkbox. The problem is that I have a filter using a DropDownList, if I leave mine…
-
1
votes1
answer471
viewsForeach - Pagination with images
I’m trying to display images instead of numbers in the pagination. I need help getting inside the for these images that are coming from the variable $aImages in the foreach, $maximo = 1; $pagina =…
-
1
votes2
answers144
viewsImproving Paging Scheme - PHP and Javascript
On the site I took over from a client, some pages have a pagination scheme. For example, a news page that shows record of 100 published news appear 7 news per page. The pagination will show me from…
-
1
votes1
answer96
viewsStatic page paging not working
The latest posts and the link paging are appearing, but when I click on link, the URL changes to /page/2/ but gets the same content from the first page. Does anyone know how I can solve? <?php…
-
1
votes0
answers42
viewsLimit the number of pages in the pagination
I have a pagination that displays many pages. I would like to know how I can limit this outcome. For example if the user is on the page [5] , I’d like you to show up [3][4] 5 [6][7] always two links…
-
1
votes1
answer526
viewsPaging with Jquery
I searched some sites and here in the stack looking for how to create a pagination script with the following features: The elements are collected in the HTML I can use the function at any time and…
-
1
votes1
answer880
viewsPage Bootstrap 4
Buenas pessoal, I have a relatively simple doubt, but I haven’t found anything on the Internet to answer me. I am implementing a page with bootstrap 4:…
-
1
votes1
answer2132
viewsPaging in Laravel 5.5
I am making a data pagination as follows: Controller: $brands = $this->brand::where('id', $filter_id)->paginate($this->total_page); View: {{ $brands->appends(['id' =>…
-
1
votes0
answers69
viewsHow did Mandar Sort view URL in native pagination query?
The structure below works perfectly, but when I send after the input and pagination data the command Sort it from the Sql error, which I need to put in the query to accept the Sort for the field I…
-
1
votes1
answer75
viewsError in paging inside tab
I have a strange problem, in a certain part of my site I have a tab, only within one of them there is a pagination, which when it was placed inside the tab did not work and only appeared the…
-
1
votes1
answer303
viewsjavascript paging
I have a pagination OD and I want him to do an item count, ex: has 40 items and I want to read in 5 per pages, then the first page reads 1 of 5, the second and 6 of 10 and the third and 11 of 15 and…
-
1
votes1
answer968
viewsLimit links to be displayed in PHP and Bootstrap paging
Good morning! I would like a help to limit the amount of links and be displayed in the pagination. My links are displayed like this: Previous 1 2 3 4 5 6 7 Next For the number of links not getting…
-
1
votes0
answers83
viewsIs there a restriction to consult using inheritance in Hibernate?
Good morning/afternoon/evening Gentlemen. The situation is as follows. I have a query that performs the registration of daughter entities aiming to divide the object. However at a future time the…
-
1
votes1
answer57
viewsPaging of php pages
ola I am creating a search system and need to create a paging thought to use $_SESSIONbut I noticed that it would be an error below the code I developed so far Research: <?php…
-
1
votes1
answer859
viewsThymeleaf passing 2 parameters to URL
Good evening, everyone, I have the following problem: I am trying to pass 2 parameters in the URL using Thymeleaf, but I am not able to recover the value of the variable "name" to pass in the second…
-
1
votes0
answers369
viewsHow do I limit pages in the EX pagination: 1,2,3,4.... , do not leave all numbers in view from 1 to 50
<?php include_once("conexao.php"); $pagina = (isset($_GET['pagina']))? $_GET['pagina'] : 1; $result_curso = "SELECT * FROM cursos"; $resultado_curso =…
-
1
votes0
answers32
viewsShow only a few page numbers of the pagination instead of all
I made a pagination that is appearing every page: I need it to look like this: << < 1 2 3 4 5 6 7... 50 > >> << < 4 5 6 7 8 9 10 ..60 > >> I’m researching and…
-
1
votes1
answer39
viewsPaging system not working - SERVER SIDE
This is my file called index.php: <?php $maxlinks = 4; $paginaAtual = (isset($_GET['paginaAtual'])) ? (int)$_GET['paginaAtual'] : 1; $maximo = 5; $inicio = (($maximo * $paginaAtual) - $maximo);…
-
1
votes1
answer75
viewsError wordpress paging (after second page) using custom template
I made a custom page to show the blog post files, but would like to add pagination. When I make the pagination I can see only the first page, from the second page and all the next ones are not shown…
-
0
votes2
answers315
viewsPage page by Id
<?php include("conectar.php"); $id = $_REQUEST['id']; if ($id == "") { $id = 1; } $sql = mysql_query("SELECT * FROM tb_trabalhador where codigo =".$id." limit 1"); include("paginacao.php"); //…
-
0
votes2
answers1377
viewsHow to recover query parameters after clicking on pagination
In the code below, how I can recover query parameters after clicking on the pagination? When the user informs the query parameters contract number and/or status and clicks on query, the code below…
-
0
votes1
answer1021
viewsHow can I paginate these results?
I made an SQL to filter results according to the desired parameters which resulted in the following statement: $query = $pdo->query("SELECT * FROM imovel ".trim($where, ' AND ')); Whereas I used…
-
0
votes0
answers42
viewsCalculate the page an ID is located on
Assuming I have 10 records and per page shows 3, then the ID 2 will be on the page 1, the ID 7 on the page 3, and so on. In practice I need to access www.dominio.com/lista.php?id=7 page 3, referring…
-
0
votes1
answer436
viewsCarousel or Cycle displaying 6 elements in grid format
In the HTML code that follows below, I have a listing of images within a container. I would like to limit the display of these images in a table of 2 lines and 3 columns and paginate to look better…
-
0
votes2
answers111
viewsError in Admin paging
Hi, I migrated from the site web.dominio.com.br for www.dominio.com.br, I did not change folder only from url. I changed the siteurl and the home in wp_options, made a replace in the wp_posts,…
-
0
votes1
answer112
views -
0
votes1
answer62
viewsWordpress Paging Problem - Site within a folder, but that is accessed by the domain root
I need a lot of help from you, I am a beginner in Wordpress and although I have some notion of logic, I am still very layman in programming. I made a wordpress installation inside a folder called…
-
0
votes1
answer45
viewsHow to put an exact number of cakephp 2x pagination results
I believe that by this code I can set an exact number of results per page in my pagination public $paginate = array('limit' => 7,); It’s just that the results don’t follow that number, and they…
-
0
votes0
answers205
viewsHow to make a Javascript pagination that shows only 6 records per page?
I want to make a pagination with Javascript, and in this pagination I would like to show only 6 entries per page. Here’s an example of how I was doing earlier, but my records got too big and now…
-
0
votes1
answer441
viewsCall a wordpress page in PHP page
I tried to use the following command to go to a wordpress page, but it did not work. echo '<meta HTTP-EQUIV='Refresh' CONTENT='0;URL=$buscahttp>'; <script>location.href =…
-
0
votes1
answer741
viewsLaravel 5 Pagination without "refresh"?
I have a form where I display a table with data to assist the employee in creating the contract, this table is being paged: ($seguranças = DB::table('Segurança') ->where('disponibilidade', '=',…
-
0
votes1
answer109
viewsProblem with Paging and forward with Zend Framework 1
Use ZF1 and I’m having trouble using the _forward(), The reason is that if I redirect it to a paginated page, the url gets the method of the action that was submitted. Well, for example, if I have a…
-
0
votes0
answers113
viewspaging does not load the next records
Hello, after running a search, it delivers the specified amount in the code, so far so good... now enter my problem, I’m using url friendly and even if the form send with "...? page=1" guess it does…
-
0
votes0
answers60
views -
0
votes2
answers1239
viewsPagination with spring date
I have a list of clients per seller and am trying to create a pagination to show 10 and 10 clients in my modal in PHP. If anyone can help me thank you, because I’m still not good at spring date.…
-
0
votes1
answer224
viewsPaging using Demoiselle 2.5.0
I started testing the system today with the most current version of Démoiselle (2.5), however, paging is no longer working. When entering the page the content is listed, but by the time you change…
-
0
votes2
answers131
viewsHow to improve my php pagination
Hi, I wrote a php pagination some time ago now I have a problem with it this pagination is simple splits the total number of rows of the database by the amount of links per page; only now the amount…
-
0
votes1
answer324
viewsHandling CRUD Array PDO data
list-dish.php: <?php //inclui as bibliotecas require_once('conexao.class.php'); //faz a canexão $pdo = new Conexao(); // determina o numero de registros que serão visualisados $maximo = 20; //…
-
0
votes2
answers1478
viewsSpring Boot paging with custom SQL query method
Next, I have a Spring Boot application where I do a listing of some entities. I researched how to use paging, but all the examples I found use the default method findAll() Repository, only that I…