Skip navigation
Currently Being Moderated

Trouble showing an image in output from mysql DB

Feb 2, 2012 8:38 AM

Tags: #php #dreamweaver #database #mysql #images

Hello everyone,

 

I have a database created and in the thumbnail field in the members table I have a url link to a local folder to show the picture for that record.

 

I have connected the database and everything works fine except that the output for the thumbnail field is the actual URL instead of the picture. The field is created as a varchar (75).

 

1) Did I incorrectly create the field in the table?

2) I have included both the full URL and a relative link (../images/file.jpg) as well and still get the same result.

3) All the images are croped and ready for display.

 

I am hoping that it is something simple that I am missing. Any help would be greatly appreciated.

 

Michael

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points