selecting variable and storing into multi-dimentional array
===

i understand how multi-dimentional array works but iam new to it.

eg. 


<pre>

    $arrayAns = array( subject => "he"),
                array( subject => "I"),
                rray( subject => "they");

<code>

what i am trying to do is, get a variable from database and store it in the array.

    $query = "SELECT subject FROM #__wordBank ORDER BY RAND() LIMIT 1";
    		$db->setQuery($query);
    		$rows=$db->loadObjectList();
    
    $arrayAns = array( subject => "$rows")

Is that the way to do it?