Chris wrote:
> Jonas Rosling wrote:
>
> ...
>
>> while ($count < count($salespersons)) {
>
>
> I see you have solved it - just one comment.
>
> This particular line will get evaluated every time. If you have a large
> number of elements in $salespersons, it will slow things down considerably.
Jonas Rosling wrote:
...
while ($count < count($salespersons)) {
I see you have solved it - just one comment.
This particular line will get evaluated every time. If you have a large
number of elements in $salespersons, it will slow things down considerably.
From a performance point of vie
this shoul work:
while ($count < count($salespersons)) {
foreach ($salespersons[$count] AS $key => $value) {
echo htmlentities($key).' - '.$value;
$count++;
}
}
On 5/23/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
I got the code as follows
3 matches
Mail list logo