Re: Table trouble
| From: | Jeff Harris | Date: | Mon, 07 Jul 2003 22:21:50 +0000 |
| Subject: | Re: Table trouble | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154265@lists.php.net to get a copy of this message | ||
On Jul 8, 2003, "phpu" claimed that:
|Hello
|I need help.
|I'm querying a database then printing the results in a table. I want the result to be in a
table with 2 columns per row.
|something like that
|
|--------------------------------------------------------
|-- row 1 -- row 2 --
|--------------------------------------------------------
|-- row 3 -- row 4 --
|--------------------------------------------------------
|How can I do that?
|Please help me asap
|
I suggest you learn to count by 2's and create a loop using that counting
pattern. It looks like you want the odd rows on the left and the even
rowss on the right.
Jeff
--
Registered Linux user #304026.
"lynx -source http://jharris.rallycentral.us/jharris.asc |
gpg --import"
Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED
Responses to this message should conform to RFC 1855.