Closed Thread Icon

Topic awaiting preservation: PHP counter for multiple page (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=13037" title="Pages that link to Topic awaiting preservation: PHP counter for multiple page (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: PHP counter for multiple page <span class="small">(Page 1 of 1)</span>\

 
shalvi
Nervous Wreck (II) Inmate

From:
Insane since: Oct 2003

posted 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....

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted 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

echo '<INPUT type="hidden" name="yourVarName" value="'.$yourVar.'">';

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted 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.

-Dan-

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 01-19-2004 03:14

and yeah...what he ^^^ said

« BackwardsOnwards »

Show Forum Drop Down Menu