1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can I set multiple values for datawriter setExistingData()

Discussion in 'XenForo Development Discussions' started by Dannymh, Feb 3, 2015.

  1. Dannymh

    Dannymh Active Member

    Hi,

    I wanted to get existing data based on more than just the ID, this is for a poll voting system and there may be multiple options.

    Can I push in multiple options say (ID, dayname, week)?

    or do i just need to loop through each row?

    Dan
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Look at the Follower DataWriter that finds the existing data based on two fields.
     
    katsulynx likes this.
  3. Dannymh

    Dannymh Active Member

    Thank you. Datawriter is making my brain feel mushy :) Other than that am loving coding in the framework, it is outstanding
     

Share This Page