2 dimension array have a max lenght ?
- From: "Marie-Eve" <abygael@xxxxxxxxxxx>
- Date: 21 Aug 2006 08:36:52 -0700
I have 6688 lines in my table.
But when I try to display them with a 2 dimension array, it stop at
line 5804.
Here is the code example:
WORK (simple array):
$i = 0;
while ($row = pg_fetch_row($result)) {
echo $i . "----";
echo "id: $row[0]";
echo "<br />\n";
$i++;
}
DON'T WORK (same code but with a 2 dimension array):
$i = 0;
while ($results[$i] = pg_fetch_row($result)) {
echo $i;
echo ";";
echo $results[$i][0];
echo ";";
echo $results[$i][4];
echo "<br />\n";
$i++;
}
Someone can explain that to me ?
Thanks !
.
- Follow-Ups:
- Re: 2 dimension array have a max lenght ?
- From: Marie-Eve
- Re: 2 dimension array have a max lenght ?
- From: babal
- Re: 2 dimension array have a max lenght ?
- From: ZeldorBlat
- Re: 2 dimension array have a max lenght ?
- Prev by Date: Re: PHP and VMware: SLOW
- Next by Date: Re: 2 dimension array have a max lenght ?
- Previous by thread: $_REQUEST with variables
- Next by thread: Re: 2 dimension array have a max lenght ?
- Index(es):
Relevant Pages
|