Explications code
Résolu
Louyii
-
Louyii -
Louyii -
Bonjour,
Est-ce que quelqu'un saurait m'expliquer ce petit bout de code de connexion d'une base pour un graphique sous Artichow ??
function labelFormat($value) {
return round($value, 4);
}
// On vérifie que les données à afficher sur le graphique existent
if(isset($_GET['x']) === FALSE) {
exit;
}
$data = @unserialize($_GET['x']);
if(is_array($data) === FALSE) {
exit;
}
//print_r($data);
$axex = @unserialize($_GET['y']);
$depart= $_GET['depart'];
$plot = new BarPlot($data);
Merci d'avance ;)
Est-ce que quelqu'un saurait m'expliquer ce petit bout de code de connexion d'une base pour un graphique sous Artichow ??
function labelFormat($value) {
return round($value, 4);
}
// On vérifie que les données à afficher sur le graphique existent
if(isset($_GET['x']) === FALSE) {
exit;
}
$data = @unserialize($_GET['x']);
if(is_array($data) === FALSE) {
exit;
}
//print_r($data);
$axex = @unserialize($_GET['y']);
$depart= $_GET['depart'];
$plot = new BarPlot($data);
Merci d'avance ;)