SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Mar 2011
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question $.row[imagepath]

    hi,

    Im trying to get images to display using some php the images are on hdd and the db is mysql.


    this code displays a broken image icon

    echo "<td><img src=" . $row['imagepath']. "</td>";

    What am i missing? any suggestions would be really helpfull?

  2. #2
    SitePoint Zealot
    Join Date
    Mar 2011
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nevermind,

    echo "<td><img src=" . $row['imagepath']. "></td>";


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
  •