diff --git a/TP8/PHP/ISEN-Nantes.png b/TP8/PHP/ISEN-Nantes.png new file mode 100644 index 0000000..51d9fa3 Binary files /dev/null and b/TP8/PHP/ISEN-Nantes.png differ diff --git a/TP8/PHP/citations.php b/TP8/PHP/citations.php index 5e7424b..456dd53 100644 --- a/TP8/PHP/citations.php +++ b/TP8/PHP/citations.php @@ -24,28 +24,30 @@ -

La citation du jour

-
- -

Il y'a +

+

La citation du jour

+
$nbQuotes "; + require_once('database.php'); + // Enable all warnings and errors. + ini_set('display_errors', 1); + error_reporting(E_ALL); + + // Database connection. + $db = dbConnect(); ?> - citations répértoriées

-

Et voici l'une d'entre elle générée aléatoirement:

- +

Il y'a + $nbQuotes "; + ?> + citations répértoriées

+

Et voici l'une d'entre elle générée aléatoirement:

+ +
\ No newline at end of file