title: $_POST in array?
body: <p>I have a script that put some terms into an array and then into the database.
  Below you find a snippet. Everything is working fine, but i cannot get the $<em>POST code to work correctly. What i need is that it contains the value of 'app</em>' combined with the $album['id'] that is submitted by a form. I am pretty sure I am doing something wrong here. Can anyone help me out? Thanks.</p>
  
  <pre><code>global $wpdb;
  $post_id = get_queried_object_id();
  $post_author_id = get_post_field( 'post_author', $post_id );
  
  $albums = $wpdb-&gt;get_results( $wpdb-&gt;prepare( 'SELECT * FROM wp_wppa_albums WHERE owner = "' . get_author_name( $post_author_id ) .'"' ), ARRAY_A );
  $input_terms = array(); 
  if ( $albums ) foreach( $albums as $album ) {
  
  $input_terms[] = 'app_'.$_POST[$album['id']]; //This goes wrong
  
  
  }
  </code></pre>