From 7b91ab7e28688a93dabfa5d68bfdffc7a28f3c12 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 26 Oct 2019 16:12:26 +0200 Subject: [PATCH] test : compute min et max periode --- html/test.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/test.php b/html/test.php index 7fd947713..ed9a957d8 100644 --- a/html/test.php +++ b/html/test.php @@ -96,6 +96,10 @@ for ($e_scan=0; $e_scan<$maxscan; $e_scan++) } } $script=$http->request('script', "string",''); +$min=$cn->get_value("select p_id from parm_periode order by p_start asc limit 1"); +$max=$cn->get_value("select p_id from parm_periode order by p_start desc limit 1"); +printf ("Max période %s Min période %s",$max,$min); + if ($script=="") { echo "

Test NOALYSS

";