Pulling data from custom fields

Discussion in 'Customization & add-ons' started by zdr81, Jun 15, 2008.

  1. zdr81

    zdr81 New Member

    Joined:
    Sep 1, 2006
    Messages:
    9
    I'm not able to see in the SQL database where the data gets stored from the custom fields. Specifically, I want to write php/sql code to retrieve data from one of the fields. Can anyone help me in this regard? Thanks!
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Is this for content or database manipulation?
    Try this:
    session_start();
    $user = $_SESSION['_amember_user'];

    $user[custom_field_id]

    David
  3. zdr81

    zdr81 New Member

    Joined:
    Sep 1, 2006
    Messages:
    9
    For both .. one purpose would be to generate a list of all the responses
    another one would be for database manipulation.

    i'll try that .. just trying to figure out where in the database the values get stored.
  4. zdr81

    zdr81 New Member

    Joined:
    Sep 1, 2006
    Messages:
    9
    The fields are actually in BLOB type in the members field. My question is.. how to pull out data from BLOB fields (i.e. "do_you_like_this_site) for which input is either yes/no and make a code that says "if field = yes, then ..."

Share This Page