Path: csiph.com!usenet.pasdenom.info!news.etla.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: part two same issue - unwanted empty values in array Date: Mon, 05 May 2014 17:40:19 +0200 Lines: 24 Message-ID: References: <10ij5epc7behi$.1xza6fsoj54ve$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net jraLdP2saGnC92ZxLbwEqAOiiCKq1n6ai3569r70Z5DPzLl19q Cancel-Lock: sha1:N4AQ/p9zwTktqq4S7W6+MVFM7QQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Xref: csiph.com comp.lang.php:13527 On 05/05/14 17:36, Jerry Stuckle wrote: > On 5/5/2014 11:04 AM, richard wrote: >> http://mroldies.net/radio/24hours3.php >> >> As you will see, at the bottom of the list I am left with the equal >> number >> of unassigned array values that now contain nothing. >> I don't even want that in the list. >> How do I eliminate them altogether? >> > > Once again you didn't show your code, so it's impossible to tell. > > You also have an invalid argument for foreach()... > > With all of that, why aren't you using a database? You're going through > a whole lot of unnecessary work that the database can do for you. > Maybe the guy who he hired once don't anymore answer the phone? -- //Aho