The x is the different buildings, i.e.:
$rows[0]['name'] = 'search tower'
$rows[0]['building_architects'][0]['name'] = 'im pei'
$rows[0]['building_architects'][1]['name'] = 'frank lloyd wright'
$rows[1]['name'] = 'empire state building'
$rows[1]['building_architects'][0]['name'] = 'godzilla'
$rows[1]['building_architects'][1]['name'] = 'mothra'
$rows[1]['building_architects'][2]['name'] = 'king kong'
or as you'd actually retrieve them (with fetch_assoc):
$row['name'] = 'empire state building'
$row['building_architects'][0]['name'] = 'godzilla'
$row['building_architects'][1]['name'] = 'mothra'
$row['building_architects'][2]['name'] = 'king kong'