How to get Column Name With Zend DB

monkey_boys picture monkey_boys · Apr 2, 2009 · Viewed 16.6k times · Source

How to get Column Name With Zend DB

Answer

corné picture corné · Sep 21, 2009

This is the correct answer, the older answers are wrong or outdated:

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