i am saving images in database by explding ,
how can i delete the images by name

advance thanks

Recommended Answers

You need to supply more info. This is insufficient. How are you getting the names of files to delete? DO you simply want to delete the record that holds this info or delete the phyical image file?

If delete physical file, then you've already had the answer with unlink().

Jump to Post

All 5 Replies

explode by , i need help guys

explode by , i need help guys

in database image_path are storing like 32115454.jpg,hgdahfgsahdgbsa.jpg,......
so hear i need to delete one by one image by click on image

Member Avatar

You need to supply more info. This is insufficient. How are you getting the names of files to delete? DO you simply want to delete the record that holds this info or delete the phyical image file?

If delete physical file, then you've already had the answer with unlink().

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.