INSERTING Data into table with placeholders

I found the answer, in the codex. I just used it’s code and adapted it, this code:

  $wpdb->query( $wpdb->prepare( 
"
    INSERT INTO $wpdb->postmeta
    ( post_id, meta_key, meta_value )
    VALUES ( %d, %s, %s )
", 
    10, 
$metakey, 
$metavalue 
) );

So it works now.

tech