Results 1 to 25 of 27
Thread: ?
Hybrid View
-
23rd May 2009 12:59 #1Registered User
Join Date: Mar:2009
Location: Sofia
Posts: 4
-
23rd May 2009 13:09 #2
pagination/
.
.
, , , . - .
feature- MySQL LIMIT start,length length , start.
$start = $elements_per_page * $page_number;
$page_number 1-, ($page_number-1).
MS SQL - pagination-a, -, MySQL
.
pagination-a , , . .. , , . .
-
23rd May 2009 13:19 #3Registered User
Join Date: Mar:2009
Location: Sofia
Posts: 4
-
23rd May 2009 13:51 #4
, .
, .
, suit- .
, , page selector-a
.
, , - , , , , . , , .
-
23rd May 2009 14:45 #5
pagination- javascript / clientside, tedych , - ... .
, , .
, , .. SELECT NUM(id) as rows_count FROM... .
:
- ( $rows_count/$rows_per_page , ).
- ( 1 | 2 | 3 | 4 ... ), .
-
23rd May 2009 15:38 #6_
Join Date: Apr:2006
Location: _
Posts: 1,128
( source coda ) copy paste. ( php)
?
. ?
-
23rd May 2009 16:27 #7
. .

- tedych.
$_GET , .
, , .
.
:
, $_GET['page'] == 0;Code:$all_num = // , ( ); $per_page = 8; // ; $start = ((int)$_GET['page']*$per_page); // limit , ($_GET['page'] == 2), $start = 16;
0, 8, 8 .
get == 1 ..
query-
, 2 , .Code:$sql = mysql_query($sql." limit ".$start.",". $per_page);
- , .
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
23rd May 2009 16:31 #8_
Join Date: Apr:2006
Location: _
Posts: 1,128
?
-
23rd May 2009 17:47 #9
, , - .
, , .. , .Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
23rd May 2009 19:08 #10_
Join Date: Apr:2006
Location: _
Posts: 1,128
( ) AJAX - - AJAX ?
-
23rd May 2009 19:15 #11
-
23rd May 2009 19:06 #12
..
2- , . .
, , .
$sql , , pagination. - select * from ..., , ..
ORDER BY , LIMIT , sql- :
$sql_numrecords = "SELECT COUNT(*) FROM (" . $sql . ") AS Table_numrecords";
.. $sql.
, -.
$sql_numrecords , , count(...) . .
- , , , - , , , -
.
Last edited by tedych; 23rd May 2009 at 19:13.
-
23rd May 2009 19:24 #13
JS , . JS, ...
1 , N .
"" *** .
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
23rd May 2009 19:49 #14_
Join Date: Apr:2006
Location: _
Posts: 1,128
- 10 ( mysql, mysql ). ajax javascript mysql . .
-
23rd May 2009 19:52 #15
-
23rd May 2009 19:59 #16_
Join Date: Apr:2006
Location: _
Posts: 1,128
" . , . . .
, , ."
-
, .
-
23rd May 2009 20:27 #17
-
25th May 2009 15:13 #18
. ( , )
-
25th May 2009 19:40 #19_
Join Date: Apr:2006
Location: _
Posts: 1,128
,
// abv.bg - , . . javascript ?
-
25th May 2009 20:04 #20
-
25th May 2009 20:54 #21_
Join Date: Apr:2006
Location: _
Posts: 1,128
?
-
25th May 2009 20:56 #22
-
26th May 2009 10:44 #23
. Copy/Paste , - Pager Pear. , . - , / .
Pear MDB2 (DB abstraction layer), Date ( ), Log (Logging Framework), LiveUser ( ) ...
-
26th May 2009 11:31 #24
-
26th May 2009 13:09 #25




Reply With Quote
.

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in