Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Tell me what is the use of "enctype" attribute in a html form?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

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 Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what is the difference between $var and $$var?Explain what are the two main string operators?