What are the advantages and disadvantages of storing an Impressum in a text file versus a database for multiple websites?

Storing an Impressum in a text file is simpler and easier to manage for multiple websites, but it may become cumbersome to update and maintain as the number of websites grows. On the other hand, storing it in a database allows for easier updating and central management, but it may require more resources and complexity to implement for multiple websites.

// Storing Impressum in a text file
$file = 'impressum.txt';
$impressum = file_get_contents($file);
echo $impressum;

// Storing Impressum in a database
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "impressum_db";

$conn = new mysqli($servername, $username, $password, $dbname);
$sql = "SELECT impressum FROM impressum_table WHERE website_id = 1";
$result = $conn->query($sql);
$row = $result->fetch_assoc();
echo $row['impressum'];

$conn->close();