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
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['CountryCount']
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 [25] = 1 [26] = 1 [27] =
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 [21] = 1 [22]
= 1
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] = 1 [20] = 1 [21] =
5 matches
Mail list logo