Stupid 2-D ARRAY Question
| From: | Mark | Date: | Mon, 24 Sep 2001 01:31:49 +0000 |
| Subject: | Stupid 2-D ARRAY Question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12665@lists.php.net to get a copy of this message | ||
Stupid 2-D ARRAY Question
Can any body tell me why this doesn't work?
I can't find any help on 2D arrays in PHP3 (i know, my server wont upgrade)
$count = 1;
while ($row = mysql_fetch_array($sql_result)) {
$query_array[$count, 1] = $row[c_id];
$query_array[$count, 2] = $row[c_name];
$count = $count +1;
}