Raised This Month: $ Target: $400
 0% 

get_user_info problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-18-2011 , 14:14   Re: get_user_info problem
Reply With Quote #6

You check val[0] == 0
If the check is passed it means that the info is not set on client.
Then you set it to val, but you have just check that val doesn't contain anything, you should make another variable to hold the default value you want to set in case the info is not already set.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 08:32.


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