Problem with query from PHP script

Ooh, thanks to both of you! I’ve got it working again. I didn’t realise that CouchBucket query accepted a second parameter to return it as an array. (is it just me who finds that the official documentation is difficult to find???)