The only thing I didn't understand about how you implemented this, fromlooking at the table rows created directly, is why you didn't seem toproperly populate the touserarray field in pmtext table. It turns outthat you are inserting this variable:
'" . addslashes(serialize($tostring)) . "'
however I don't see the variable $tostring created anywhere, unless itcame from a function. I am still looking into this, but I have afeeling this needs to be fixed. Weird thing is, PM did show up