How to convert subarray to an array without repeating the array value :     Array
(
    [0] => Array
        (
            [id] => 21153
            [genre] => ["History","Drama", "Thriller"]
        )

    [1] => Array
        (
            [id] => 21152
            [genre] => ["ACTION"]
        )

    [2] => Array
        (
            [id] => 21151
            [genre] => ["ROMANTIC"]
        )

    [3] => Array
        (
            [id] => 21150
            [genre] => ["Drama"]
        )

)

I have with the above array and I want to convert that array to an unique array as mentioned below, and there should be any duplicate values.   
    Array(
    [History] => "History"
    [ACTION] => "ACTION"
    [ROMANTIC] => "ROMANTIC"
    [Drama] => "Drama"
    [Thriller]=>"Thriller"
   )




