title: display form main page and action page in wordpress for plugin frontend side user
body: <p>I have created one plugin which inserts vehicles to DB table,displays vehicles at admin side from that table.One page is for settings of that plugin.admin side of plugin is mostly complete.now i want to display a form for taxi booking.when user submit that form in action page, i want to display google map with locations and distance with payment option.i googled it but not found best way.How sholud i create plugin front side?from where should I start?can anyone suggest me?</p>
  
  <p>this is the form that i want to display at front side</p>
  
  <pre><code>&lt;form name="book_form" id="book_form" action="" method="POST"&gt;
          &lt;!--&lt;input type="hidden" name="action" value="tBM_taxibooking_save_booking" /&gt;--&gt;
          &lt;table&gt;
              &lt;tbody&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Select Location Points On Google Map&lt;/th&gt;
                      &lt;td&gt;
                          &lt;select name="location_points" id="location_points"&gt;
                              &lt;option value="points"&gt;Points&lt;/option&gt;
                              &lt;option value="2"&gt;2&lt;/option&gt;
                              &lt;option value="3"&gt;3&lt;/option&gt;
                              &lt;option value="4"&gt;4&lt;/option&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;First Address Point&lt;/th&gt;
                      &lt;td&gt;&lt;input type="text" name="first_point" id="first_point"&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Second Address Point&lt;/th&gt;
                      &lt;td&gt;&lt;input type="text" name="second_point" id="second_point"&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Third Address Point&lt;/th&gt;
                      &lt;td&gt;&lt;input type="text" name="third_point" id="third_point"&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Fourth Address Point&lt;/th&gt;
                      &lt;td&gt;&lt;input type="text" name="fourth_point" id="fourth_point"&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Adult Seats&lt;/th&gt;
                      &lt;td&gt;
                          &lt;select name="adult" id="adult"&gt;
                              &lt;option value="Adult Seats"&gt;Adult Seats&lt;/option&gt;
                              &lt;?php
                                  $i=1;
                                  for($i=1;$i&lt;=10;$i++)
                                  {   echo'&lt;option value="'.$i.'"&gt;'.$i.'&lt;/option&gt;';   }
                              ?&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Child Seats&lt;/th&gt;
                      &lt;td&gt;
                          &lt;select name="child" id="child"&gt;
                              &lt;option value="Child Seats"&gt;Child Seats&lt;/option&gt;
                              &lt;?php
                                  $i=1;
                                  for($i=1;$i&lt;=10;$i++)
                                  {   echo'&lt;option value="'.$i.'"&gt;'.$i.'&lt;/option&gt;';   }
                              ?&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Suitcases&lt;/th&gt;
                      &lt;td&gt;
                          &lt;select name="suitcases" id="suitcases"&gt;
                              &lt;option value="Suitcases"&gt;Suitcases&lt;/option&gt;
                              &lt;?php
                                  $i=1;
                                  for($i=1;$i&lt;=50;$i++)
                                  {   echo'&lt;option value="'.$i.'"&gt;'.$i.'&lt;/option&gt;';   }
                              ?&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Select Vehicle&lt;/th&gt;
                      &lt;td&gt;
                          &lt;select name="vehicle" id="vehicle"&gt;
                              &lt;option value="vehicles"&gt;Select Vehicle&lt;/option&gt;
                              &lt;?php
                                  while($row=mysql_fetch_assoc($results))
                                  {
                                      echo'&lt;option value="'.$row['vechicle_id'].'"&gt;'.$row['vechicle_title'].'&lt;/option&gt;';
                                  }
                              ?&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Date&lt;/th&gt;
                      &lt;td&gt;&lt;input type="text" name="date" id="date"&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td colspan="2"&gt;&lt;input type="submit" value="Get Map &amp; Distance" id="submit" name="submit"&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/form&gt;
  </code></pre>