Link an existing image array to a url array

Can anyone help me to code another array that as well as fetching the image, the script also fetches a corresponding hyperlink as well - or indeed making the image the hyperlink.

I’m not very well versed in php even though I know I’ll be able to figure it out in time, however, time is not on my side and I’m just looking for a quick fix.

Objective of the script is to fetch and display a daily image on a webpage which it currently does (no mysql just an image folder library in a directory), however, I need each day’s respective image to link to perhaps a wikipedia article about the respective subject - target_blank as well.

The code is below:

[php]

retrieval

.

[/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service