Re: [PHP-DB] incrememnting an array

2002-09-24 Thread John Coder
On Fri, 2002-09-20 at 16:49, John Coder wrote: > On Fri, 2002-09-20 at 05:41, Martin Adler wrote: > > > > I hope the little script bellow helps you > > > > greet > > Martin > > > > > $arr = array('a','b','c','d','e','f','g','h'); > > > > $arr2[] = $x = array_shift($arr); > > $arr2[] = $y = ar

Re: [PHP-DB] incrememnting an array

2002-09-23 Thread Ever Lopez
g: > array(0,23,23,25,25,40,40,41,41,55,55,98,98,120) > think of angle and ) being the beginning 23 being the end then 23 being > the begging of an angle haveing 2 degress so I need it to go to 25 and > so forth. hope this explains it better. > > > > - Original Message -

Re: [PHP-DB] incrememnting an array

2002-09-20 Thread John Coder
20) think of angle and ) being the beginning 23 being the end then 23 being the begging of an angle haveing 2 degress so I need it to go to 25 and so forth. hope this explains it better. > - Original Message - > From: "John Coder" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTE

Re: [PHP-DB] incrememnting an array

2002-09-20 Thread Martin Adler
I hope the little script bellow helps you greet Martin '; print_r($arr2); echo ''; ?> - Original Message - From: "John Coder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 8:19 AM Subject: [PHP-DB] incrememntin

[PHP-DB] incrememnting an array

2002-09-19 Thread John Coder
hi all this is what I would like to do. I have a dynamically generated array from a database and I wnat to do a piechart from it . for example the array would hold (a,b,c,d,e,f,g,h) sometimes more sometimes less . I need to get the values of a,b,b,a+b,a+b,a+b+c,a+b+c,a+b+c+d, and son on these a