Re: [PHP-DB] Table display Driving me Crazy!

2001-09-15 Thread Adv. Systems Design
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

RE: [PHP-DB] Table display Driving me Crazy!

2001-09-13 Thread Rick Emery
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

Re: [PHP-DB] Table display Driving me Crazy!

2001-09-13 Thread Jason Wong
- 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 Trows to

Re: [PHP-DB] Table display Driving me Crazy!

2001-09-13 Thread Justin Buist
Looking at your code for the first row (I've cleaned it up a bit to make it readable!): ?php $numcols = 5; for ($l = 1; $l = $numcols; ++$l) { ? td width=139 class=ModNo bordercolor=#00 ?php echo $db-f(product_sku); ? /td ?php } ? It

Re: [PHP-DB] Table display Driving me Crazy!

2001-09-13 Thread Jason Wong
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 former.