Re: Creating an Array from a Recordset
| From: | Vernon | Date: | Thu, 06 Feb 2003 14:34:55 +0000 |
| Subject: | Re: Creating an Array from a Recordset | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134606@lists.php.net to get a copy of this message | ||
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] => 1 [28] => 1 [29] => 1
[30] => 1 [31] => 1 [32] => 1 [33] => 1 [34] => 1 )
when what I need is set the variable $datay to be something like this
$datay=array(12,8,19,3,10,5,55,88,3);