mariosal026 wrote:
> In the mysql database I used the varchar as my picture
data type field so that
> I will refer in dreamweaver in the data binding panel in
the img.src to the
> picture column of my database.
Are you storing the pictures in the database or just the
pathnames?
If you're storing the actual pictures, 1) it's a bad idea,
and 2)
VARCHAR is for text - the correct data type for images is
BLOB.
If you do store images in the database, you need to create a
separate
script to extract them from the database and send the correct
MIME
headers to the browser. It's complicated and messy.
If you're storing the pathname, it's probably as Paul says,
the path
isn't resolving correctly.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/