I'm trying to include the Note field from Players within a URL to grab an avatar off another site, but for some reason it's not working. I can grab the Custom field and do it without issue.
But if I sub in $NOTE it will not work. I'm storing usernames from other sites in the Custom and Note areas when users create an account so I can grab those avatars and use on the site.
Any help would be much appreciated, thanks!
Disclaimer : I know nothing about PHP, but if I can do it with the Custom field, why not the Note field or what do I need to do to use the Note field in such a fashion?
Tuck Fheman wrote:I'm trying to include the Note field from Players within a URL to grab an avatar off another site, but for some reason it's not working. I can grab the Custom field and do it without issue.
My guess is that it contains characters that are not allowed in a URL. Print out the value separately and check it. PHP has functions for encoding URLs.