Re: php+html mixup in displaying multidimensional array in html tables [message #176844 is a reply to message #176840] |
Sat, 28 January 2012 12:07 |
crankypuss
Messages: 147 Registered: March 2011
Karma:
|
Senior Member |
|
|
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 <?php and <html> every two
> lines.
>
> Is there a method which is 'quick an easy' to do the job ?
Why would you ever shift between <?php and <html>? 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.
|
|
|