I would use the single tiny squigly lines-on-top (') instead of the double ones (") here:
implode(", ", $vieweduserids)
making it:
implode(', ', $vieweduserids)
also, you might want to save the ID's in the database using the format 1,2,3,4,5,6,7 as you woudn't have to explode() and implode() again.
Then again, if anything I said doesn't make sense, excuse me. I'm extremely tired...
|