Esempio n. 1
0
 public static function columns($table)
 {
     $sql = 'SHOW COLUMNS FROM ' . static::quote_table_name($table);
     $result = ActivePhp\Base::execute($sql, true);
     $output = array();
     while ($row = mysql_fetch_assoc($result)) {
         array_push($output, $row);
     }
     return $output;
 }