![]() |
Here's my query:
$polldatetime = $DB_site->query_first("SELECT dateline,timeout,active,votes,voters from poll where pollid = $thread[pollid];"); |
Change $votesstring to $polldatetime['votes'] as below...
PHP Code:
repaired code |
I tried that just before you wrote this and now the count reads 1 vote. ;)
|
try
PHP Code:
EDIT: repaired code |
Still only shows 1. ;)
|
Dammit man, it's my fault!!! I left the $ off of the var...
Here ya go. PHP Code:
|
I put the $ on the variable when I tried it. It gave me an error until I did. ;)
|
Quote:
$polldatetime['votes'] and $totalvotes |
Oh, ok. Now it works. You meant the $totalvotes variable. You also left it off of the polldatetime['votes'] the first time. LOL Great! Now it work fantastic. Do you want to look over everything now that I have it working to give me your honest opinion? I can pm it to you. ;)
|
If it's based on your existing code, from what I saw you should be fine.
I guess it's time to post an update to your hack. I'd be glad to review it. |
All times are GMT. The time now is 11:50 PM. |
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:
|