Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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
 



 
kognosSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Retrieve Custom User Fileds 
 
try to play with

Code: [Download] [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
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Retrieve Custom User Fileds 
 
I will check, thanks.
 



 
kognosSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron