How to echo values of an associative array returned by function
问题 I'm trying to accomplish something using an associative array as suggested somewhere else here on Stackoverflow, but I've never used arrays so I'm struggling. I've looked it up but only to be left more confused than I was! Here's the deal: I want to display a random image as the background of a Worpdress site, AND show the name of the photographer who took the image as well. So I've created a function that includes an associative array that associates the image with the photographer, and a