query($sql) as $row) { echo $row['Tables_in_mysql']."\n"; } $dbh = null; ?>