80 Topics

Member Avatar for
Member Avatar for Xufyan

php url and pagination i have a problem in my code, when i click on page number the page is opening correctly but there are only 6 pages but there is no 7th page but when i am replacing the page number in the url to '7' the page is …

Member Avatar for diafol
0
1K
Member Avatar for Xufyan

look at the code first, [CODE]<?php $name=$_POST['name']; ?> <form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="name"> <input type="submit" value="GO" name="submit"> </form> <?php include ('db.php'); if(isset($_POST['submit'])) { mysql_query ("INSERT INTO example (name) VALUES('$name')") or die(mysql_error()); } if (!isset($_GET['startrow']) or !is_numeric($_GET['startrow'])) { $startrow = 0; } else { $startrow = (int)$_GET['startrow']; …

Member Avatar for diafol
0
93
Member Avatar for Carlog

Hi, my pagination works good but I'm not able to understand how generate a fixed number of links to the pages. For example, I need to have 5 fixed links in this way: 1 - 2 - 3 - 4 - 5 > if I click on the third page …

0
64
Member Avatar for dschuett

Hey everyone, This is my first attempt at pagination. I seem to have everything working pretty well except for one slight problem. Example: If I search for a PO Number containing the number 10. My query returns all the correct information along with the correct pagination links, however, Let's say …

Member Avatar for dschuett
0
666
Member Avatar for ndabbz

Hi, I have been trying so hard to make this code work but currently,it displays 10 records, but the previous, next and the page number links are not there at all,could someone please help me with it??the table displays 10 records in the table just fine but the links are …

Member Avatar for hielo
0
109
Member Avatar for designingamy

Hello all, I seem to be having a problem with pagination. I would like to have pictures and information in boxes pulled from the database, but have 4 of them in a row, making a total of 8 put on each page. Can anyone help me figure this out? Thanks …

Member Avatar for designingamy
0
131
Member Avatar for it200219

Hi, Please read this carefully before you reply. I have a content which is really big has more then 4000 lines into it. My client want to have pagination into it. So on first page it will show some content and on second page other content and so on. Any …

Member Avatar for vibhaJ
0
106
Member Avatar for kashif farooq

[B]Pagination in PHP (New help) display page wise results, CAN U DO IT... FOR ME... [/B] :) There are tons of pages, I'm not in favor of the display page numbers in PHP like that << <1 2 3 4.... 100 > >>. I like the drop down menu for …

Member Avatar for hielo
0
92
Member Avatar for dschuett

Ok, So I found a pagination class fro ma tutorial and decided to try and impliment it into my mysql search query I use here at work to search past Parts Ordered records. I got it working to the point that it only shows 10 results on a page, and …

Member Avatar for CyberSpatium
0
186
Member Avatar for andrewliu

Hello, I got my search engine working and it does show the number of results including the number of pages it should have. But I'm having trouble outputting the results when I click next. When I click the next page it doesn't show any results. [code]<?PHP global $search_term; global $location_term; …

Member Avatar for andrewliu
0
285
Member Avatar for alex_newbi

i have large amounts of videos being encoded, and i use this php script to show them via ajax refresh div, my problem is when i have over 100 videos my layout really looks bad and very slow, im been reading about pagination but still do not get it, could …

Member Avatar for alex_newbi
0
242
Member Avatar for androidz

hi i downloaded the wp_page_numbers plug-in and install it in wordpress after that i have installed it i set the option in the admin..and at the lower there is a code that says you need to add to your theme.. Add the code where you find previous_post() and next_post() functions. …

Member Avatar for androidz
0
248
Member Avatar for Monster Killer

Hello. I have made a PHP script that gets news data from a database and i used pagination to split it into page. I have it fully working with page numbers but i would like to know how i would make it only display 10 page numbers at the bottom …

Member Avatar for Monster Killer
0
208
Member Avatar for bjeffries

I have been working on this for a while now and have had no luck. I have tried this code on 2 servers and they both render the same results: everything loads up to the title and description. Does anyone know what could possibly be the problem and help me …

Member Avatar for bjeffries
0
86
Member Avatar for bjeffries

Ok, so I have tried probably 5 different pagination tutorials online and none of them are working out for me. So I am stuck on this last tutorial and cannot get it to work. So I am hoping someone on here can help me out. First I have an include …

Member Avatar for bjeffries
0
234
Member Avatar for LloydFarrell

Hi all, I have a pagination script that works great apart from one last thing I require some pointers on please. The help i need is with the SELECT query - currently the select query works, but i am bringing back all records, I am trying to bring only certain …

Member Avatar for LloydFarrell
0
200
Member Avatar for PetrQ

Hi folks, please help. My php script combine different fetch records and I use the jQuery pagination as the kind of menu. (jPagine from [URL="http://www.phpixel.fr/jpagine/"]http://www.phpixel.fr/jpagine/[/URL] I need change page numbers to words. I know the total number of pages. I tried use array in javascript but without success ... Many …

Member Avatar for pritaeas
0
147
Member Avatar for hindlist

Hai i am struggling to find out what is wrong with this code. the next and prev buttons are not working. So any guy can look at this the url is http://www.hindlist.com/subc/Administrative%20Jobs/ I am giving out the code for further detail. Pls look at it and reply. <?php // session_start(); …

Member Avatar for aburningflame
-1
370
Member Avatar for furqan219

Its working PERFECTLY In IE6 But in Chrome Back Button is not Working. Code for Back button [CODE]<td><a href="lims_New_North.php"><img name="lims_pages_r5_c2" src="images/lims_pages_r5_c2.jpg" width="74" height="23" border="0" id="lims_pages_r5_c2" alt="" /></a></td>[/CODE] There is no Issue with Pagination above Back link not work in Google chrome but work in IE6 code Pagination [CODE=php]<?php /* Place …

0
116
Member Avatar for ayesha789

Hi dear all I have 2 question to be asked 1. everything is working fine but I couldnot understand [ICODE]$page = $_GET['page'];[/ICODE] what function is performing in the script? 2. when I change limit greater then 2 its not echo any record but for limit=1 or limit=2 its working perfectly. …

Member Avatar for dasatti
0
1K

The End.