Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news2 From: crankypuss Newsgroups: comp.lang.php Subject: Re: php+html mixup in displaying multidimensional array in html tables Date: Sat, 28 Jan 2012 05:07:19 -0700 Organization: NewsGuy - Unlimited Usenet $19.95 Lines: 15 Message-ID: References: NNTP-Posting-Host: p401bb30f07147e5f3164a3db783111e3e08f9f83876d93ab.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:4657 On 01/28/2012 04:24 AM, John wrote: > Hello, > > I am new to this problem and shall be very grateful for any hint on how > to a´void an unreadable code-salad, when trying to display a > bidimensional array (thus with two indexes) on a html table. > I refer to the continuous shifting between every two > lines. > > Is there a method which is 'quick an easy' to do the job ? Why would you ever shift between ? Once you're in PHP, just stay there and do the job. Generate the whole thing. I don't see the issue, but maybe I don't understand.