I don't know if I'm explaining things in a difficult way or not. But I'm gonna try to explaine what I want very clean and simple. 1. I wan't to check if an array is decleard or not, refering to a value in a row/field ($row[0]) 2. If it's not decleard I declear it and assign it's name by the value from a row/field ($row[0]) - Further down I shell fill it with values like $arrayname[$row[2]] = $row[1] (arrayname based on $row[0]) 3. Else if it's decleard fill it with values like above. Hope someone understands me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php