I want to add one more field like this, I copied and paste this code. It's gave me one more field, but when I edit first field and publish my post, second field is gating same inserted.
<div class="Blkcn TrailerBx">
<label>
<span class="Title"><?php _e('Trailer', TRMOVIES); ?><i class="dashicons dashicons-format-video"></i></span>
<textarea class="txtara" name="trailer" placeholder="<?php _e('Insert code iframe here', TRMOVIES); ?>">
<?php
if( isset( $_POST['trailer'] ) and empty($ok) ) {
echo stripslashes( $_POST['trailer'] );
}
elseif( get_post_meta($post->ID, TR_MOVIES_FIELD_TRAILER, true)!='' ) {
echo stripslashes( get_post_meta($post->ID, TR_MOVIES_FIELD_TRAILER, true) );
} ?>
</textarea>
</label>
</div>