Skip to content
Snippets Groups Projects
Commit 5c01bacb authored by David Cazier's avatar David Cazier
Browse files

css

parent 8127f871
Branches
2 merge requests!3Master,!2Master
<?php
function connexion()
{
$pdo = new PDO('mysql:host=base.iha.unistra.fr;dbname=XXX_fresques;charset=utf8', 'login', 'mot-de-passe');
$pdo = new PDO('mysql:host=base.iha.unistra.fr;dbname=LOGIN_fresques;charset=utf8', LOGIN, PASSWORD);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
if ($pdo) {
......
......@@ -10,6 +10,7 @@
<body>
<nav>
<a href="index.php">Accueil</a> -
<a href="categories.php">Les catégories</a> -
<a href="artistes.php">Les artistes</a> -
<a href="fresques_all.php">Toutes les fresques</a>
......
......@@ -3,7 +3,7 @@
{% block main %}
<div class="container">
{% for fresque in fresques %}
<div class="block">
<div class="block miniature">
<p>{{ fresque.commentaire }}</p>
<img src="{{ fresque.photo }}" alt="{{ fresque.commentaire }}">
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment