![]() |
Cool addition, small, yet very useful. *clicks install*
Nice idea. :) |
Quote:
|
Quote:
Thanks for the feedback. Regards |
Quote:
|
Quote:
|
OK to this line you need to add the active column name.
PHP Code:
PHP Code:
Regards |
I almost have it. I am working on a small problem. How do I go about get the total votes on a poll. I can pull them out but they look like this:
3|||2|||3|||2|||4||| Like that. How do I get them into a total? |
You can use a foreach loop with an explode statement .
PHP Code:
EDIT: repaired code |
Just tried it. It gives me 0 as the total votes and there are 10. ;)
|
Does $votesstring exist for you? If not did you substitute you var name that contains the ||| delimited string?
|
All times are GMT. The time now is 08:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|