Hello all. I am trying to connect to multiple databases but testing lines of code one at a time, but I dont get any of my messages to echo out onto the page. Now the question is, does my code fail? Or did i write it wrong? No log is created this time around so I am assuming its not failing (Last time I wrote this and tested, there would be an error log created, this time no error log)

Anyone have any idea??

//trys to connect to each database
try {
$db1 = new PDO('mysql:harcerze_******; host=**.***.***.***', '*********', '*********');
} catch (PDOException $ex) {
	if($db1 == false)
		echo 'Connect Failed: ' .$ex->getMessage();
			else {echo 'Connected to DB1';}