I have a problem, i have two files with same name and it required to upload on site without renaming file both are jpg file, in one database it's my task how can i complete this task?
That's more of a test to me. Not sure if you can put two of them without changing names so the best you can do is keep the name but add a suffix
HR Document(1) and so on
You have to alter the names in some way. You can't have 2 files with exactly the same name in the same folder.
hI..if your having id for your data then add your id before the image....
For reference..Refer the below article........