can i use
<a href=" ">name</a>
in php i want to give reference on image icon so if it is possible kindly tell me how can i do this
href in php
Moderator: General Moderators
- mrvijayakumar
- Forum Commoner
- Posts: 58
- Joined: Tue Aug 18, 2009 12:39 am
- Location: Chennai city, India
- Contact:
Re: href in php
R u asking like this?,
Code: Select all
<?php
echo "<a href='imagename.jpg'>image name</a>";
?>- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: href in php
An image:
A hyperlink:
Thus, a hyperlinked image:
Any basic tutorial/book on HTML, which are numerous online, will cover this in greater depth. Good luck!
Code: Select all
<img src="image filename" />Code: Select all
<a href="to where">stuff in here</a>Code: Select all
<a href="to where"><img src="image filename" /></a>