Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Date: Sat, 28 Jan 2012 13:03:02 +0100 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: php+html mixup in displaying multidimensional array in html tables References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: Lines: 29 NNTP-Posting-Host: 2001:980:9089:1:216:76ff:fee1:aa6c X-Trace: 1327752301 news.xs4all.nl 6935 [2001:980:9089:1:216:76ff:fee1:aa6c]:51287 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:4656 On 28-01-2012 12:24, 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. you don't need continuous shifting ....... Some html here Will have the same effect as: html here"; $x=$x+1; ?> > > Is there a method which is 'quick an easy' to do the job ? > This will be a nice challenge to get to know PHP..... ;) -- Luuk