Dropdown w/data populated from another MySQL Table?

Discussion in 'Customization & add-ons' started by obsidiandesign, May 4, 2008.

  1. obsidiandesign

    obsidiandesign New Member

    Joined:
    Aug 14, 2007
    Messages:
    1
    I have extended a plugin & am storing more data in two new MySQL tables in the aMember database. I would like to add a dropdown to the user profile page, and populate that dropdown with information from one of the new tables. I know that I can add a dropdown with choices I specify in the admin panel, but I don't see a way to create a dynamic dropdown on the user profile page. I'd like to avoid hacking the core files to do this - is there a way to 'hook' into the user profile page from the plugin & add this field?
  2. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Why not have an include(dropdown.php) statement in the profile page and then carryout all your necessary processing in this separate file.

Share This Page