jpgraph question ???

From: Date: Thu, 20 Jun 2002 14:17:42 +0000
Subject: jpgraph question ???
Groups: php.general 
Request: Send a blank email to php-general+get-103130@lists.php.net to get a copy of this message
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 (#103130) next »