Jump to content

Variables


Adam_S

Recommended Posts

Hi everyone,

I'm hoping someone might be able to assist me.  I'm wondering whether there's a way I can retrieve a particular custom profile variable on a page load and manually display it via PHP / HTML in a custom pages block?

For example:

- I have a custom profile field called "Genre", which is a Checkbox Set, and has values "House", "Hip Hop", "Funk", "Disco" as options.

- User Adam has selected "House" and "Disco" as his choices for the custom profile field "Genre"

I have a custom PHP block which has this in it (missing the genres)

<?php
     
     echo "My Genres:";  
     // list memeber's genre's here somehow from the custom variables in their profile
     
?>

How would i be able to easily access these variables to display them in this custom PHP block of my creation?

Thanks

Adam

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...