‘;
echo ‘
‘;
$connection = mysql_connect(‘localhost’, ‘wordpress’, ‘Ap0^j5GF’);
$res = mysql_query(“SHOW DATABASES”, $connection);
echo $connection;
echo ‘
‘;
echo $res;
echo ‘
‘;
while ($row = mysql_fetch_assoc($res))
{
echo $row[‘Database’], ‘
‘;
}
if ($res = mysqli_query($connection, ‘SHOW DATABASES’)) {
echo ‘Connected.’;
} else {
echo ‘Error occurred’, mysqli_error($connection);
}
echo ‘6’;
?>