Raised This Month: $ Target: $400
 0% 

How to menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2009 , 17:04   Re: How to menu
Reply With Quote #7

Declare global array:
PHP Code:
new g_votecount[4
Replace the switch with:

PHP Code:
g_votecount[key]++ 
Remember to zero all the votes before the voting starts and then you can count and make decisions on the counts in another function.
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode