Re: FF26 crashes with simple code! [message #184371 is a reply to message #184360] |
Sun, 29 December 2013 14:07 |
Arno Welzel
Messages: 317 Registered: October 2011
Karma:
|
Senior Member |
|
|
Am 29.12.2013 01:33, schrieb richard:
> <?php
> $year=1960;
> $artnum=1;
> while ($five[$artnum][2]=$year)
> {
> echo $year."...";
> echo $five[$artnum][0]."</br>"; $artnum++;}
> ?>
>
> It works fine without echo $year.
No - it doesn't! It's an endless loop repeating the content of
$five[$artnum][0] over and over again.
PLEASE LEARN THE DIFFERENCE BETWEEN "=" AND "=="!
> Once that's added, FF@^ crashes.
Maybe FF doesn't like endless documents.
> Why do the expert coders at mozilla always fix what ain't broke?
Because it's not their fault when your code is wrong.
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
|
|
|