-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonsoir !

c'est un peu OT, mais là, je ne m'en sors plus : voici le code

$references = $HTTP_SESSION_VARS['references'];
$from = $HTTP_GET_VARS['from'];
$to = $HTTP_GET_VARS['to'];
$relatif = $HTTP_GET_VARS['relatif'];

$nval = count($references);

$width = 480;
$height = 250;
$hmargin = 30;
$vmargin = 30;

$ysize=$height-(2*$vmargin); // y-size of plot <--- ici
$xsize=$width-(2*$hmargin); // x-size of plot <--- ici


$image = imagecreate($width, $height);

$black = imagecolorallocate($image,0,0,0);
$white = imagecolorallocate($image,255,255,255);

// plot frame 
imagerectangle($image,$hmargin,$vmargin,$hmargin+$xsize,$vmargin+$ysize,$black);  

$link = db_connect($host,$login,$pwd); <--- ici

Et voici l'erreur :

Parse error: parse error, unexpected T_VARIABLE in 
/home/gmichalk/public_html/stockgest/graphique.php on line 29

Ce qui indique basiquement qu'il y a une variable là où il ne devrait pas y en 
avoir.

(les lignes où j'obtiens l'erreur sont indiquées par <--- ici)

Merci à l'avance pour toute aide.
Gerd


- -- 
Gerd-Christian Michalke               
[EMAIL PROTECTED]               \\_//
+32 2 / 376 43 36                   (. .)   Powered by SuSE Linux 8.1   
- ----------------------------------oOOo-oOOo--------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9xGYB9gMW6jYltOsRAiDiAJ9Am76t/U6Ipq54OuXPutGgir2iUQCgrm18
aHBRPn9zHAAb/rUWiS7t/nk=
=F2bI
-----END PGP SIGNATURE-----

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/linux@;lists.unixtech.be
IRC: efnet.skynet.be:6667 - #unixtech

Répondre à