What type of data is contained in $vlData['target_name'][0]) ? I think you have to make sure it's an array, since array_unique() is expecting an array as input. (I'm still pretty new at this, so forgive me if this is wrong.) What's the parser error you're getting? Chris Bisgard