Hi, I hope one of you guys can help, I have a slight problem involving arrays and variables: I have an object array, $row2 populated with data pulled from mysql. Hence $row2->name grabs the name part of the query. Now, i want to do a foreach loop to display some of these, specifically user2, user7 etc. Long story short, how do I concatenate $row2->user with the array key - or any thing else for that matter: [code]$variable = "7"; print "$row2->user" . "$variable"; [/code] This doesn't work, and only outputs 7, not the contents of $row2->user7. I suspect I'm missing something obvious here, anyone wanna fill me in? Thanks, Mart