1
我怎麼能在Zend的編寫這個查詢:Zend框架:表顯示狀態查詢
$tableStatus = mysql_query("SHOW TABLE STATUS LIKE 'table_Name'");
因爲我需要得到下一個自動增量數。
我怎麼能在Zend的編寫這個查詢:Zend框架:表顯示狀態查詢
$tableStatus = mysql_query("SHOW TABLE STATUS LIKE 'table_Name'");
因爲我需要得到下一個自動增量數。
那麼呢?
$stmt = $dbAdapter->query("SHOW TABLE STATUS LIKE 'table_name';");
$tableStatus = $stmt->fetchObject();