CodeCanyon

PHP Simple PageNav

  • Has been a member for 2-3 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?

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

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 50 and 99 items
  • United Kingdom
shendrew says

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

Thanks.

2 years ago
Author
iamkenny iamkenny replied

Okay, I’ll update.

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.

2 years ago
Author
iamkenny iamkenny replied

Hello danbb

you can use …

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

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.

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);
2 years ago
  • Has been a member for 1-2 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.

1 year ago
Author
iamkenny iamkenny replied
Can u give m your code page, I will test for u.. kenny@kennychen.idv.tw
3 months ago

by
by
by
by
by