Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: FF26 crashes with simple code! Date: Sun, 29 Dec 2013 15:07:01 +0100 Lines: 31 Message-ID: <52C02C85.2050208@arnowelzel.de> References: <9rjd58qt2a19$.wb3gkbuu9qnn$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net shHI8ecYngGxU/oUunMAzgtn71/lnnLUfN+2IX6fFIzK/cGbQQ Cancel-Lock: sha1:g/0BFWE8F12En+LzEGiLBzwcwhA= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <9rjd58qt2a19$.wb3gkbuu9qnn$.dlg@40tude.net> Xref: csiph.com comp.lang.php:12416 Am 29.12.2013 01:33, schrieb richard: > $year=1960; > $artnum=1; > while ($five[$artnum][2]=$year) > { > echo $year."..."; > echo $five[$artnum][0]."
"; $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