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

Date 2014-05-06 19:49 +0200
From Luuk <luuk@invalid.lan>
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>
Message-ID <eujn3b-tmj.ln1@luuk.invalid.lan> (permalink)

Show all headers | 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