title: Create form in wp admin dashboard and save data in custom created db
body: <p>I want to create form of field text input and file input in WordPress admin dashboard and save the data in custom created table in database.</p>
  
  <pre><code>function certificate_fields() { ?&gt;
      &lt;h2&gt;Fill the details&lt;/h2&gt;
      &lt;form method="post" action="options.php"&gt;
          Enter your code : &lt;input type="text" name="s_code" placeholder="Enter Code"&gt;&lt;br /&gt;&lt;br /&gt;
          Upload Certificate image : &lt;input type="file" name="s_image"&gt;&lt;br /&gt;&lt;br /&gt;
          &lt;input type="submit" value="Submit Details"&gt;
      &lt;/form&gt;
  &lt;?php }
  </code></pre>
  
  <p>Please suggest me.</p>