Jump to content

Archived

This topic is now archived and is closed to further replies.

w4seem

pulling images into DW from database

Recommended Posts

Im not sure what im doing wrong or if it can even be done, but im trying to insert an image in to dreamweaver from my databse which has been done using phpmyadmin. Im not sure if dreamweaver supports this, if it doesnt is there another way? Thanks

Share this post


Link to post
Share on other sites

Are you trying to insert an image name or the actual image data.

 

If uploading and entering you could use

 

$_FILES['fieldname']['name']

 

Inserting actual image data is a little more tricky, but if you post some code people can help out.

 

 

 

 

Try this url for more info:

[a href=\"http://uk.php.net/features.file-upload\" target=\"_blank\"]http://uk.php.net/features.file-upload[/a]

Share this post


Link to post
Share on other sites

im trying to import an image as blob data, but i think dreamweaver doesnt support this. i have tried using a file path and it works fine, this is probably the best way to do it anyway i think since the database file size is not compromised and is much smaller.

 

Share this post


Link to post
Share on other sites

Absolutely correct. Dreamweaver does not and I doubt wil ever fuly suport this. Im am currently denying a somewhat succesful night out so wil post further in the morning. hey thats London.

Share this post


Link to post
Share on other sites

×

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.