<?php
require_once 'config.php';

echo "Structure de la table income:<br>";
$query = "PRAGMA table_info(income)";
$result = fetchAll($query);
echo "<pre>";
print_r($result);
echo "</pre>";

echo "Contenu de la table income:<br>";
$query = "SELECT * FROM income LIMIT 10";
$result = fetchAll($query);
echo "<pre>";
print_r($result);
echo "</pre>";
?>
