Retrieve Custom User Fileds »  Show posts from    to     

Icy Phoenix


Old Support Topics - Retrieve Custom User Fileds



kognos [ Sun 22 Jul, 2007 19:16 ]
Post subject: Retrieve Custom User Fileds
Ok, I have a custom CMS page that has an iframe in a block with a url for retrieve and display a weather info. That url needs a zipcode for locate the specific weather data.

What I want is to create a custom field in the user accounts to store the zipcode for each user and retrieve it when the user calls the custom php page to send that variable into the weather url and display the weather info fot that specific user.


I know how to do the custom field part, but I dont have any idea how to call that field and insert it in the url to make the weather info user specific.

I hope someone understand this and can bring me some help.

Thanks in advance.


Site: www.forobebe.com
Version: icy phoenix 1.1.0.15a
Language: Spanish
DB: mySQL 5
PHP: 4


Zuker [ Sat 11 Aug, 2007 15:38 ]
Post subject: Re: Retrieve Custom User Fileds
try to play with

Code: [Hide]
  1. $userdata['name_of_the_field_in_db'] 


that should be the field that u created.
Explore into users table to look how it's named


kognos [ Sat 11 Aug, 2007 19:23 ]
Post subject: Re: Retrieve Custom User Fileds
I will check, thanks.




Powered by Icy Phoenix