title: How to add column to wp_post table in database?
body: <p>I have a database named <strong>event-listing-db</strong> which contains a table <strong>wp_posts</strong>. Also i have a function for creating a form with method post with the following structure:</p>
  
  <pre><code>function ru_meta_callback() {
      wp_nonce_field(basename(__FILE__), 'ru_jobs_nonce ');
      ?&gt;
      &lt;form method="POST"&gt;
          &lt;div&gt;
              &lt;div class="meta-row"&gt;
                  &lt;div class="meta-th"&gt;
                      &lt;label for="date_listed" class="ru-row-title"&gt;Event Date&lt;/label&gt;
                  &lt;/div&gt;
                  &lt;div class="meta-td"&gt;
                      &lt;input type="text" name="event_date" id="event_date" value=""/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="meta-row"&gt;
                  &lt;div class="meta-th"&gt;
                      &lt;label for="event_location" class="ru-row-title"&gt;Event Location&lt;/label&gt;
                  &lt;/div&gt;
                  &lt;div class="meta-td"&gt;
                      &lt;input type="text" name="event_location" id="event_location" value=""/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;input type="submit" value="Add Event"&gt;
          &lt;/div&gt;
      &lt;/form&gt;
      &lt;?php
  }
  </code></pre>
  
  <p>When I submit the form only the <strong>post_title</strong> column is filling. My question is: How can I create columns for <strong>event_date</strong> and <strong>event_location</strong> and fill'em when the data is submitted and save the new columns along with the original post?</p>