Jump to content

[SOLVED] UPLOAD DISPLAY IMAGE


PHPOD

Recommended Posts

Hi All

 

I was wondering if anyone could point me in the direction of of a good upload and display PHP MYSQL code.

 

I would like the user to upload there image to a folder on the server and then mysql to store the path only..... not store the image in the DB..... only the path to the folder.

 

I would then like the image to be displayed in the users comment post kind of like what the image button on this form does.

 

Would anyone know where I could get this code?

 

Many thanks

Link to comment
https://forums.phpfreaks.com/topic/182136-solved-upload-display-image/
Share on other sites

however the question still stands how do you upload without

putting the image into the database just the file path

By storing the name of the uploaded file into a database field in VARCHAR format instead of using BLOB type. The second example I get in the google result page shows exactly that.

Archived

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

×
×
  • Create New...

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.