Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Derek Turner Newsgroups: comp.lang.php Subject: Re: Looking for NULL in arrays Date: 25 Oct 2015 16:11:24 GMT Lines: 6 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net UF677JatDfQj/WCs+c5howkRyXdueaZH2f/93e75VNCxEOynjG Cancel-Lock: sha1:5sB8FkCQAV45yYbtXOSXqBzbJTY= User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Xref: csiph.com comp.lang.php:15780 On Sun, 25 Oct 2015 16:05:19 +0000, Derek Turner wrote: > $weeks[1] always contains a string. [2], [3] etc. either contain a > string or NULL from mysql query. sorry, $weeks[0], of course - thinko.