CodeCanyon

PHP Simple PageNav

  • Has been a member for 1-2 years
  • Canada
coder4u says

why does the script have all the weird characters in it? MY friend bought this just to find out what it was and asked me to help him?

example lines 98 獲取上一頁HTML

118 獲取頁HTML

80 獲取最前頁HTML

I understand some of these are commented but what do they mean?

also in the menu

this is what it says next to” last” page

Page:1/50 or Page:8/50 and so on

Just curious. He is more curious than me to spend $3.00 w.o knowing what he is getting :)

Mayeb you forgot to add ther demo or CC forgot to upload your remakrs?

Posted 2 years ago
Author
iamkenny iamkenny replied

Sorry, It’s chinese characters, I forget change to english.

and Live Demo URL http://kennychen.idv.tw/codecanyon/PageNav/demo.php

Posted 2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 10 and 49 items
shendrew says

Its still showing wired characters in the demo . . if its Chinese characters, please set it to show English ones too.

Thanks.

Posted 2 years ago
Author
iamkenny iamkenny replied

Okay, I’ll update.

Posted 2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
danbb says
Purchased

hey. where do i define the database it should split to pages? i’ve managed to bring it on the page i want to split data on, and i can see the address change to page=1 2 3 etc, but the data remains the same.

Posted 2 years ago
Author
iamkenny iamkenny replied

Hello danbb

you can use …

SELECT * FROM `TableName` LIMIT $page,$perPage

Posted 2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
danbb says
Purchased

i cant understand where i should put the query.

Posted 2 years ago
Author
iamkenny iamkenny replied
/* Full  Sample */
$totalNum = 1000; 
$item_Num = 20; 
$url = $_SERVER['PHP_SELF'];
$length = 10; 
$class = 'pages';

$page = isset($_GET['page']) ? $_GET['page'] : 1;
$start_Num = $_GET["p"] ? ($_GET["p"]-1)*$item_Num : 0; 

$sql= " 
    SELECT * FROM `TableName`
    LIMIT $start_Num,$item_Num

";
mysql_query($sql);
Posted 2 years ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
atamayop says
Purchased

Hello I have an array of objects already stored in a PHP variable as I can assign the array of objects to your pagination.

Posted 9 months ago

You must sign in or sign up to purchase this item.

$3Regular Licence

$3

Regular Licence a website (commercial, personal, client), or intranet site project - Details

52 Purchases 5 Comments

Buyer Rating
12345 ( 12 ratings )
iamkenny

iamkenny

  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Taiwan
View Portfolio
Created 12 March 10
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Opera, Safari
Software Version PHP 4.x, PHP 5.x
Software Framework N/A
Files Included CSS, PHP
by
by
by
by
by