Sr. PHP Programmer Question:
Download Questions PDF

What is the use of "enctype" attribute in a html form?

Answer:

The enctype attribute determines how the form-data should be encoded when submitting it to the server. We need to set enctype as "multipart/form-data" when we are using a form for uploading files

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is function overriding?How will you retrieve source filename using Exception class in PHP when error occured?