Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Fetch Images From URLs in MYSQL

  1. #11
    Join Date
    Mar 2010
    Location
    Wisconsin
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    To further clarify, the line that I want to edit is:

    [CODE]
    echo "<img src=\"path/".$row['log_filename']."\" width=92 height=62 hspace=0 vspace=0 border=0></a>";echo "</td><td valign='middle'>";
    [CODE]

    Thank You...EMT

  2. #12
    Join Date
    Mar 2010
    Location
    Wisconsin
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hell again, This is the closest I can get.

    [CODE]
    echo "<img src=\"mypath/".$row.">" .$row['bands_website']."\"></a>";
    [CODE]

    It displays an image place holder and of course doesn't link.

    I know the <a href has to also be in there somehow. PLEASE HELP...EMT

  3. #13
    Join Date
    Mar 2010
    Location
    Wisconsin
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I Figured it out.

    [CODE]
    echo "<a href=\"" . $row["bands_website"] . "\"><img src=\"IMAGEPATH/" . $row["log_filename"] . "\" border=0 alt=\"" . $row["text"] . "\"></a>";
    [CODE]

    EMT

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •