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

Bonjour !

donc, apr�s quasiment une nuit de lutte pour trouver cette erreur, je peux 
dire : 'tain que je suis b�te !

Le fautif : les retours chariots de fin de ligne avec mc/hex viewer dans le 
r�le de Zorro.

'fin, si jamais vous avez une erreur dans un quelquoncque langage alors que 
vous �tes certain que votre code est correct, �a fait une piste de plus.

Sur ce, bonne nuit.
Gerd

On Sonntag, 3. November 2002 00:55, Gerd-Christian Michalke wrote:
> 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,$bl
>ack);
>
> $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)

iD8DBQE9xOFJ9gMW6jYltOsRAqXJAJwLW6toOZZAALspKroj/7EQQCqSpgCfYp2N
Ox2Cr0PVOzBF/YyoOthKlY0=
=z/WL
-----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.unixtech.be:6667 - #unixtech

Répondre à