Commit 6f5616bcbb3c8998229e44822de73fbaae0a52b1

Authored by Guillaume
1 parent b9ee0274

Test Graphe

Showing 1 changed file with 1 additions and 8 deletions   Show diff stats
site/graphique.php
1 <?php 1 <?php
2 session_start(); 2 session_start();
3 -$nom = $_POST['nom'];  
4 -$nombre = $_POST['nombre'];  
5 -$start = $_POST['start-date'];  
6 -$end = $_POST['end-date'];  
7 -if(($end == NULL) || ($end < $start)) {$e = date_max(); $end = $e['max'];}  
8 -else $end = $end." 23:59:59";  
9 -if($start == NULL) {$s = date_min(); $start = $s['min'];}  
10 -else $start = $start." 00:00:00"; 3 +
11 ?> 4 ?>
12 <!DOCTYPE html> 5 <!DOCTYPE html>
13 6