How to convert this string into an array
<p>I have a string being returned from my database that I want to use as an array. It is already in an assoc array form. Here is a sample of what this looks like so far. How would I do this?</p>

<pre><code>'test1' =&gt; 'value 1',
'test1' =&gt; 'value 1a,
'test2' =&gt; 'value 2'
</code></pre>

<hr>

<p>Ok, this is the database code:</p>

<pre><code> SELECT
 inventory.invId,
 GROUP_CONCAT(CONCAT( '''', inventory.vehicle, ''' =&gt; ', '''', inventory.color, '''' )) AS vehicle,
 vehicle.vehicle_id
 FROM
 inventory
 Inner Join vehicle ON vehicle.invId = inventory.invId
</code></pre>

<p>This is the print_r from the database results</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [system] =&gt; AR3
            [vehicle] =&gt; 'geo' =&gt; 'red', 'honda' =&gt; 'blue', 'ford' =&gt; 'black'
            [vehicle_id] =&gt; 1232132
        )
)
</code></pre>
