I'm using type="file" in HTML, to get images from my computer.
when i join my image, it only shows my image name. Example:
I have a image named "folder/image1.jpg", but when i submit it only shows "image1.jpg".
And when i submit all the form, the image goes to my database whithout the folder name.
I need the folder name because whitout the folder name, my database cant recognize the images.
i'm using this code
<input type="file" name="fileUpload" />