You can do this:

$row = $table->fetchRow($where)

$cols = $table->info(Zend_Db_Table_Abstract::COLS);

foreach ($cols as $col) {
    echo $col . ' = ' . $row->$col . PHP_EOL;
}


debussy007 escreveu:
Hi

I used fetchRow of Zend_Db_Table_Abstract.
Now I would like to display all the columns name and their value of that
row, wihout knowing its column names
Usually to get a value I use $row->xyz  but in this case I don't know 'xyz',
I would like to display all columns + values, hope I am clear

How can I achieve this ?

Thank you for any tips !

--
Felipe Weckx <[EMAIL PROTECTED]>
MT4 Tecnologia
(11) 3064-3226

Reply via email to