I have seen the code segment enctype='multipart/form-data' is used in forms. Can someone please explain me why this is used?
enctype='multipart/form-data'
Use enctype='multipart/form-data' if your form has any <input type="file"> elements.
<input type="file">
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Use
enctype='multipart/form-data'
if your form has any<input type="file">
elements.