LeoWong Member Posts: 100 From: Registered: 02-27-2004 |
I've added to my site a PHP counter that displays the next bible verse at each showing of the home page. ------------------ [This message has been edited by LeoWong (edited March 14, 2006).] [This message has been edited by LeoWong (edited March 14, 2006).] |
goop2 Member Posts: 1059 From: Registered: 06-30-2004 |
hey, long time no see! 1. Wouldent it take a while to get through the bible? ------------------ |
LeoWong Member Posts: 100 From: Registered: 02-27-2004 |
quote:
1. 31102 hits will do it. Added Book, Chapter, Verse. ------------------ |
goop2 Member Posts: 1059 From: Registered: 06-30-2004 |
does it reset at that point? ------------------ |
LeoWong Member Posts: 100 From: Registered: 02-27-2004 |
quote: Should. ------------------ |
goop2 Member Posts: 1059 From: Registered: 06-30-2004 |
I mean the counter, at 31102 will the counter say 31103, or 1? ------------------ |
LeoWong Member Posts: 100 From: Registered: 02-27-2004 |
quote: The actual count is kept in a file. The verse count is the remainder of dividing the actual count by the number of verses. After the second "1" of the verse counter, the actual count will be 31103. One could display both numbers, but that would be a vanity of vanities. ------------------ |