Re: [PHP] Creating an Array from a Recordset

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 22:34, Vernon wrote: > That gives me something that looks like this: > Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4 > [7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => > 2 [15] => 2 [16] => 1 [17] => 1 [18] => 1 [19

Re: [PHP] Creating an Array from a Recordset

2003-02-06 Thread Marek Kilimajer
use implode(',',$datay) Vernon wrote: That gives me something that looks like this: Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4 [7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => 2 [15] => 2 [16] => 1 [17] => 1 [18] => 1 [19] => 1 [20] => 1

Re: [PHP] Creating an Array from a Recordset

2003-02-06 Thread Vernon
That gives me something that looks like this: Array ( [0] => 34 [1] => 31 [2] => 16 [3] => 16 [4] => 6 [5] => 4 [6] => 4 [7] => 3 [8] => 2 [9] => 2 [10] => 2 [11] => 2 [12] => 2 [13] => 2 [14] => 2 [15] => 2 [16] => 1 [17] => 1 [18] => 1 [19] => 1 [20] => 1 [21] => 1 [22] => 1 [23] => 1 [24] => 1 [

Re: [PHP] Creating an Array from a Recordset

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 22:04, Vernon wrote: > I'm trying to create an array from a rocordset that will do somethingt like > this: > $datay=array(12,8,19,3,10,5,55,88,3); > > the following is the code I have attempted to create, which is not working: > > do { > $dat = ($row_rsCOUNTRY['CountryC

[PHP] Creating an Array from a Recordset

2003-02-06 Thread Vernon
I'm trying to create an array from a rocordset that will do somethingt like this: $datay=array(12,8,19,3,10,5,55,88,3); the following is the code I have attempted to create, which is not working: do { $dat = ($row_rsCOUNTRY['CountryCount'] & "," $row_rsCOUNTRY['CountryCount']); } while ($row_rsCO