Problem with IF..
| From: | Peter \"Beholder\" Frankenfeldt | Date: | Sat, 17 May 2003 17:57:52 +0000 |
| Subject: | Problem with IF.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148233@lists.php.net to get a copy of this message | ||
Hi,
i have a Problem with the marked (>>>) IF function:
for ($j = 0; $j < 3; $j++) {
$elem = reset($planeten);
do {
$color = ImageColorAllocate($im, 50, 255, 50);
>>> if($j == 2) {
$color = ImageColorAllocate($im, 255, 255, 255);
} //fi
imagestring($im, 2, $elem[x] * $sc + ($j * 5), $elem[y] * $sc, $j,
$color);
} while($elem = next($planeten)); //elihw od
}; //rof
When the Array $planeten have more than 126 rows the marked IF function
don't work and will be ignored.
I hope, someone can tell me whats wrong..
I use PHP v4.3.1 on WinXP - IIS.
Thanks,
Peter