mmm, I'll try to explain this as best as I can, cos I still new at this.
on every row of the karma table, the whoadded column has one value.
But because the querie asks for the first 5 rows in the table that contain my userid , this would return an array of 5 userid's from the whoadded rows ?
This is correct aint it ?
Then with these 5 user id's I want to find out what their username is.
So in the mysql_fetch_array loop I can add the username variable in their.
I can therefore in the usercp, instead of just showing the karma and the comment I can show the username of the person who gave it to me.
That make sence ?
Thanks for your continuing help