public function getListColumn($sTable) { $pRs = $this->query(sgbd_syntax_mysql::getListColumn($sTable)); $tObj = array(); if (empty($pRs)) { return null; } while ($tRow = $pRs->fetch(PDO::FETCH_NUM)) { $tObj[] = $tRow[0]; } return $tObj; }
public function getListColumn($sTable) { $pRs = $this->query(sgbd_syntax_mysql::getListColumn($sTable)); $tCol = array(); if (empty($pRs)) { return $tCol; } while ($tRow = mysql_fetch_row($pRs)) { $tCol[] = $tRow[0]; } return $tCol; }