Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13542

Re: part two same issue - unwanted empty values in array

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Date Tue, 06 May 2014 19:49:34 +0200
From Luuk <luuk@invalid.lan>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version 1.0
Newsgroups comp.lang.php
Subject Re: part two same issue - unwanted empty values in array
References <10ij5epc7behi$.1xza6fsoj54ve$.dlg@40tude.net> <lk8b5l$kev$1@dont-email.me> <b7qgv0zeybhr.8xbnnt41aa10.dlg@40tude.net>
In-Reply-To <b7qgv0zeybhr.8xbnnt41aa10.dlg@40tude.net>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <eujn3b-tmj.ln1@luuk.invalid.lan> (permalink)
Lines 11
NNTP-Posting-Host 2001:980:9089:1:1846:7c06:f56c:60cf
X-Trace 1399398601 news.xs4all.nl 2916 [2001:980:9089:1:1846:7c06:f56c:60cf]:38306
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.php:13542

Show key headers only | View raw


On 5-5-2014 18:38, richard wrote:
>
> sort($master);
> for ($x=0;$x<=$hi;$x++){echo $x.")..".$master[$x]."<br>";}
>


you could also stop this loop if $master[$x] is empty


for ($x=0;$x<=$master[$x]!="";$x++){echo $x.")..".$master[$x]."<br>";

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

part two same issue - unwanted empty values in array richard <noreply@example.com> - 2014-05-05 11:04 -0400
  Re: part two same issue - unwanted empty values in array Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-05 11:36 -0400
    Re: part two same issue - unwanted empty values in array "J.O. Aho" <user@example.net> - 2014-05-05 17:40 +0200
    Re: part two same issue - unwanted empty values in array richard <noreply@example.com> - 2014-05-05 12:38 -0400
      Re: part two same issue - unwanted empty values in array Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-05 12:51 -0400
      Re: part two same issue - unwanted empty values in array Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-05 17:03 +0000
        Re: part two same issue - unwanted empty values in array richard <noreply@example.com> - 2014-05-05 13:10 -0400
          Re: part two same issue - unwanted empty values in array Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-06 17:53 +0000
        Re: part two same issue - unwanted empty values in array Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-05 13:23 -0400
          Re: part two same issue - unwanted empty values in array Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-05 16:01 -0400
          Re: part two same issue - unwanted empty values in array Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-06 12:33 +0000
      Re: part two same issue - unwanted empty values in array Luuk <luuk@invalid.lan> - 2014-05-06 19:49 +0200
  Re: part two same issue - unwanted empty values in array Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-05-06 00:58 +0000
    Re: part two same issue - unwanted empty values in array Evan Platt <evan@theobvious.espphotography.com.invalid> - 2014-05-06 22:31 -0700

csiph-web