Most likely a very simple PDO/mysql question

As far as I can tell all the semi colons are there. I get no error messages. but print_r($query); get me nothing…don’t understand what I got wrong?

<?php
//a_db my database
//tab01 my table
//title one of the rows in my table

$config ['db']	= array(
'host'		=>'localhost',
'username'	=>'root',
'password'	=>'',
'dbname'	=>'a_db'
);

$db = new PDO('mysql:host'.$config['db']['host'].';dbname'.$config['db']['dbname'],$config['db']['username'], $config['db']['password']);
$query = $db->query("SELECT `tab01`.`title` FROM `tab01`");

print_r($query);
  ?>

To start, you are missing the = in your PDO connection string.

$db = new PDO('mysql:host='.$config['db']['host'].';dbname='.$config['db']['dbname'],$config['db']['username'], $config['db']['password']);

Cpradio! Thank you, you got it.
I kept looking and looking but didn’t see that at all.
d