Something along the lines of:
$table = new My_Table; // extends Zend_Db_Table
$db = $table->getAdapter(); // returns Zend_Db_Adapter_Abstract
object
$db->query('create table...');
On Apr 23, 2008, at 3:51 PM, xing93111 wrote:
Can I use Zend_Db_Table to create a table in a database? If yes,
how? If not,
which API does ZF provide to do so?
Thanks!
--
View this message in context:
http://www.nabble.com/Create-a-new-table-using-Zend_Db_Table-tp16834793p16834793.html
Sent from the Zend Framework mailing list archive at Nabble.com.