Jump to content

quick question


paulman888888

Recommended Posts

I have got my php code but i dont know how to put a link with an image

my code

echo "<td>".$row['location']."</td>\n";

how can i have an image that has a link to location?

i thought of this but i think its wrong

echo "<td><a href='".$row['location"]."'><img src="images/downloadsm.png" /></a></td>\n";

 

Please help

 

Link to comment
https://forums.phpfreaks.com/topic/108884-quick-question/
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.