Jump to content

[SOLVED] Link to image


RCS

Recommended Posts

what if I wanted to have it so   echo "<td><img src =\"upload/" . $row['name']."\"></td>";

 

has a hyperlink added to the image say http://somesite.com

 

I can't seem to find any info on this anywhere.

 

Thanks in advance.

 

see I thought that  "<td><a \"$row[name]\">$row[name]</a> <a href="http://somesite.com"><img src=\"upload/"></a></td>";

 

But It don't work

 

Link to comment
https://forums.phpfreaks.com/topic/101891-solved-link-to-image/#findComment-521448
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.