Raised This Month: $ Target: $400
 0% 

need help with menu strings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Elusive138
Senior Member
Join Date: Dec 2010
Old 01-06-2011 , 11:17   Re: need help with menu strings
Reply With Quote #2

1. Make your data array bigger
PHP Code:
new data[6
==>
PHP Code:
new data[64
2. Take this line out
PHP Code:
new iCountry str_to_num(data); 
3. Take out the switch.
4. Replace all occurrences of iCountry with data

You were trying to turn the country name string into a number (integer), and then copy that integer into a string...

btw, you should rename iSelectedCountry to szSelectedCountry, though it isn't necessary.
Elusive138 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:07.


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