Jump to content

RsConcepts

New Members
  • Posts

    3
  • Joined

  • Last visited

RsConcepts's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What I am having a difficult time with is wrapping my head aroiund how i would reference an image inside the code I referenced here. My problem is lack of skill in php/mysql. So I want to know if the following links can be editied to be image links, not text. So, the question is, can I use images intead of text in these two pieces of code? I worked them myself to get text links, but I cannot get images referenced in them, everything I do crashes the code and I get a blank page. The E-mail link: echo "<td><a href=mailto:".$row['email'] . ">" .$row['email'] . "</a></td>"; <------- Put an image reference in here instead of text!! The Google map link: echo "<td><a target='_blank' href=".$row['location_map_link'] . ">" .$row['location_map_link'] . "</a></td>"; <------- Put an image reference in here instead of text!! Thanks!! Ron
  2. I used search function, could not find a subject that addressed my need. I hope I am not repeating a well answered question. I have two MySql fields I want to hyperlink, but not as text links, but with an image. Here is truncated code, if more deatail is need, I can post. Both links work fine now, but show the person's email name and google map link text - looks unproffessional and I think the email links may be able to be harvested by spammers. The E-mail link: echo "<td><a href=mailto:".$row['email'] . ">" .$row['email'] . "</a></td>"; The Google map link: echo "<td><a target='_blank' href=".$row['location_map_link'] . ">" .$row['location_map_link'] . "</a></td>"; Can we use images in this code? I am not a PHP coder!! Ron
×
×
  • 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.