sorry if I am about to take advantage of your generosity,the snippet worked perfectly, but it then occurred to me that I would want to combine both user id and document id to put out a chunk.
I’ve scoured the php manual, Bob’s site and scroogled like crazy, and though there is a wealth of info, it is waaaaay over my head about combining arrays and strings, I try to do things intuitively but when it comes to php and javascript, you really have to know what you’re doing...(or at least have more gray matter than myself). I must have created four or five snippets with disastrous results.
the reason I ask is if I have a multilingual site, and I want user A to see one chunk on a page that is English, but see another chunk on a page that is Spanish, how would I go about combining those?
I know I should probably start powering out some books and get involved in some php forums, it’s just there seems to be quite a bit of coders talking here about resolving problems with regards to code being implemented on MODX. ...if you tell me to p**s off, I’ll understand.