prepare("SELECT name FROM boards");
$statement->execute();
echo ""
foreach($statement->fetchAll() as $ROW) {
echo "
- $ROW[name]
";
}
echo "
"
}
if (!$result) {
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
}
?>