i am saving images in database by explding ,
how can i delete the images by name
advance thanks
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
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().
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.