[PHP-DB] another PHP Sql question...

2003-08-29 Thread jsWalter
I am querying a database just fine. Getting back what I expect, just fine. But now I've been thrown a wrench in the form of double row display. my client wants... a b c d e f ... Well, I've reached the end on my PHP/SQL knowledge (which really isn't all that far!) Right

RE: [PHP-DB] another PHP Sql question...

2003-08-29 Thread Boaz Yahav
8:14 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] another PHP Sql question... I am querying a database just fine. Getting back what I expect, just fine. But now I've been thrown a wrench in the form of double row display. my client wants... a b c d e f ... Well, I've

Re: [PHP-DB] another PHP Sql question...

2003-08-29 Thread jsWalter
Boaz Yahav [EMAIL PROTECTED] wrote in message I'm not sure i understand the problem. a,c,e come from one query result and b,d,f from another? No, they all come from the same table, but the same field name but from different rows of the database. If it's all from the same query why not do :

RE: [PHP-DB] another PHP Sql question...

2003-08-29 Thread Jacob A. van Zanen
the last records if it happens to be an od number off records; You'll have to do your own coding around this logic. Good luck Jack -Original Message- From: jsWalter [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 9:46 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] another PHP Sql

Re: [PHP-DB] another PHP Sql question...

2003-08-29 Thread Tiberiu Ardeleanu
: jsWalter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 29, 2003 8:14 AM Subject: [PHP-DB] another PHP Sql question... I am querying a database just fine. Getting back what I expect, just fine. But now I've been thrown a wrench in the form of double row display. my client wants

[PHP-DB] another PHP Sql question...

2003-08-29 Thread Kit DeKat
At 09:33 AM 8/29/2003, you wrote: You can do: while ($row = $result-fetchRow(DB_FETCHMODE_ASSOC)) { extract ($row); echo $feild_A . 'nbsp'; $row = $result-fetchRow(DB_FETCHMODE_ASSOC); extract ($row); echo $feild_A . 'br /'; } close, but

Re: [PHP-DB] another PHP Sql question...

2003-08-29 Thread Kit DeKat
At 09:33 AM 8/29/2003, you wrote: You can do: while ($row = $result-fetchRow(DB_FETCHMODE_ASSOC)) { extract ($row); echo $feild_A . 'nbsp'; $row = $result-fetchRow(DB_FETCHMODE_ASSOC); extract ($row); echo $feild_A . 'br /'; } close,