Topic awaiting preservation: PHP counter for multiple page (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 01-17-2004 12:13
i have a situation where suppose one page contains 10 peoples entry listing of total 25 peoples entry that means i need 3 page (10+10+5=25) to show 10 entry per page....my problem is i cant pass the variable to the next page using the next button ...it's one kind of forum...is there good working example around? i am sure i stuck here for some stupid reason and already messed up....any help?examples will be preferred.... |
Maniac (V) Mad Scientist From: :morF |
posted 01-17-2004 13:04
to pass the variable on in the form (I'll assume each of the form elements are being echoed) simply add a hidden form element |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 01-18-2004 16:31
Flat text file to store all of the data, just make sure to keep up an appropriate locking mechanism, or you could store the number of hits into a database. |
Maniac (V) Mad Scientist From: :morF |
posted 01-19-2004 03:14
and yeah...what he ^^^ said |