Re: jpgraph question ???

From: Date: Thu, 20 Jun 2002 14:42:55 +0000
Subject: Re: jpgraph question ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103135@lists.php.net to get a copy of this message
even if i try to pass a variable to the title of the graph I get the error: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in the following line: $graph->title->Set("Visitors per Day, Month".$month""); anyone has any experience in the jpgraph ? -- ~~~~~~~~~~~~~~~~ Sapilas@/dev/pinkeye ~~~~~~~~~~~~~~~~ "Septic Flesh" <septic_flesh@hotmail.com> wrote in message news:20020620141123.97132.qmail@pb1.pair.com... > well i downloaded the jpgraph library and i am trying to pass my results of > some databases queries in the array that displays the data in X axis.. > > $l1datay = array(1,2,3,4,5,6,7,8,9,10, > 11,12,13,14,15,16,17,18,19,10, > 12,22,33,34,35,36,37,38,39,310, > 31); > > > if i type the numbers in the script works ok.. > > When i type > > $l1datay = array($1,2,3,4,5,6,7,8,9,10, > 11,12,13,14,15,16,17,18,19,10, > 12,22,33,34,35,36,37,38,39,310, > 31); > > and a wanna get the value £1 from a previous form that is submited i get the > error: > > Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$ > in the line above that contains the $1. > > do u know y ? is that error ? do i need to type anything like "$1" instead > or anything to convert my T_LNUMBER to the expecting type of T_VARIABLE and > how ? > > thanks in advance.. > > > -- > ~~~~~~~~~~~~~~~~ > > Sapilas@/dev/pinkeye > > ~~~~~~~~~~~~~~~~ > >

« previous php.general (#103135) next »