Jump to content

Recommended Posts

Hello coders = I am new here = this looks like a great forum!

 

I am searching the posts and have found a lot of stuff on uploading images.  Could someone who has been here a while point me to any threads that report on:

 

1) Uploading an image to a directory AND naming the image in a database table in one fell swoop.

2) How I might code deleting the image in the directory IF the record in the db is deleted.  Actually I want to set up 5 fields for 5 images per record - the unlink() function must purge ALL 5 fields and rename the default string to "no_pic.jpg" - or which ever funtion is called to purge.

 

Thank you for any and all help on this -

 

ODC

Link to comment
https://forums.phpfreaks.com/topic/72538-uploading-images-and-naming-to-directory/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.