0

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

2
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by Igorcats
0

Nope that does not work.
This image is in a header.php and trying that piece of code does not display the header.

0

My mistake. I finally recalled that for some reason whenever I uploaded files to our server, I then had to change the file properties so that the server will actually execute the file. So the code does work now.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.