Re: [SMARTY] What happened to smarty.php.net?

From: Date: Mon, 19 Aug 2002 01:41:20 +0000
Subject: Re: [SMARTY] What happened to smarty.php.net?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5749@lists.php.net to get a copy of this message
I think that the best way to do it is to maintain or derive some kind of state as you loop through the array. You could either do this by finding the modulus of the array index, if it doesn't divide by 2 then you know you've got an entry to go in column 1, otherwise it's a column 2. The other way is to use a boolean variable, called first_column or something, which you switch as you loop, when it's true you write to column 1 etc. Ben On Monday, August 19, 2002, at 02:33 AM, <eric.coleman@zaireweb.com> wrote:
Well, since it's down, I have a question.. I have some data, and I want to display it in 2 table columns... Like So: [ column 1 - Username] [ column 2 - Username2 ]
   Eric                                    Joe
Zaire                                            Bob
Im not sure how to do a section that will cover 2 columns at a time, unless I use 2 different sections, and 2 different arrays, anyone know? Thanks, Eric ----- Original Message ----- From: "Ben Godfrey" <ben@hypothetical.co.uk> To: <smarty-general@lists.php.net> Sent: Sunday, August 18, 2002 9:28 PM Subject: Re: [SMARTY] What happened to smarty.php.net?
I haven't been able to get to it either, for at least six hours. I'm in the UK. Ben On Monday, August 19, 2002, at 02:26 AM, <eric.coleman@zaireweb.com> wrote:
Seems to be down in the USA.. what's up with the site? -Eric
(q) Ben Godfrey? (a) Developer and Designer, See http://aftnn.org/ for details -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
(q) Ben Godfrey? (a) Developer and Designer, See http://aftnn.org/ for details

« previous php.smarty.general (#5749) next »