title: How to solve <form> that includes file upload and other text input, on the same page
body: <p>I need help with my form. There's a mix of input, textarea and file upload that i want to enter into the database..</p>
  
  <p>What do I use in the ? Do I use the normal form attribute :</p>
  
  <pre><code>  &lt;form action="" method=""&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;form enctype="" action="" method=""&gt;
  </code></pre>
  
  <p>Please have it in mind that, I have to do this in a single page, and the picture upload must be done along with other text input.</p>
  
  <p>Thanks for your time.</p>