I figured out what was wrong...and yes, the db call
was from phplib...I am making modifications to
existing code and so haven't figured out all the inns
and outs...what I did was just create an array from
the object that was being called by the query and then
addressed those array elements individ
> The whole block is wraped in a while ($db->next_record()) { ...} loop
> actually. Now, I'm not sure if the next_record() method is setting an
> internal member to the current record and returning TRUE/FALSE for
> success, or if it's actually supposed to be returning a row.
It should be the for
> Looking at your code for the first row (I've cleaned it up a bit to make it
> readable!):
>
> $numcols = 5;
>for ($l = 1; $l <= $numcols; ++$l) {
> ?>
>
> echo $db->f("product_sku");
> ?>
>
> }
> ?>
>
>
> It should be pretty clear why you're getting the
- Original Message -
From: Adv. Systems Design <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 12:09 AM
Subject: [PHP-DB] Table display Driving me Crazy!
> Hello *
> trying to output mysql content into a table, but the
> table is designed to use 3 Tr
What does you mysql table look like?
What does your SELECT statements look like?
What does function p() do?
What does function f() do?
Need more info
-Original Message-
From: Adv. Systems Design [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 11:09 AM
To: PHP List
Subje