Hi
I am developing a webpage. I started from home.html and redirected through few php files. In the final php file I have an image URL.
I want to redirect to my home.html page and set the above URL as the src to a image element.
Please suggest me how to do it. A copy snippet will be of great help.
Thanks in advance.
I guess you are willing to do something like following:
<a href="home.html">
<img src="some_image.jpg">
</a>
See Fiddle
suppose you have home.html file which is used for home page. and if you php file is welcome.php file. then i have write simple script.
welcome.php file
<a href="home.html"><img src="write you image url here" /></a>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.