title: How do I use update_option to give me a new option name each time a form is submitted?
body: <p>How do I use update_option to give me a new option name each time a form is submitted? The code I'm using now overwrites the database value. Instead I need to have a new address saved each time.</p>
  
  <p>The code:</p>
  
  <pre><code>                        // assign addrss to var
                          $address = esc_html( $_POST['address'] );
  
                          //assign JSON object to var using geocodeing function('address') input 
                          $address_results = boj_gmap_geocode($address);
  
                          // transfer data to options array
                          $options['py_name'] = $py_username;
                          $options['address'] = $address;
                          $options['coords']  = $address_results;
  
                          // create and name the option_name and set fields with $options array
                          update_option( 'py_menu_item', $options );                      
  </code></pre>