I have this piece of code:
<img src="<?php echo img('Background9.jpg'); ?>" />
I would like the image (Background9.jpg) to be linked to this page: www.example.html
I have looked through a lot of posts and solutions here, but try as I might I cannot figure out exactly how to accomplish that.
Charlie
Igorcats
0
Newbie Poster
Recommended Answers
Jump to Post<a href="http://www.example.html"><img src="<?php echo img('Background9.jpg'); ?>" /></a>
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.