src/Util/PDOX.php
function metadata($tablename) {
        $sql = "SHOW COLUMNS FROM ".$tablename;
        $q = self::queryReturnError($sql);
        if ( $q->success ) {
            return $q->fetchAll();
        } else {
            return false;
        }
    }
function metadata($tablename) {
        $sql = "SHOW COLUMNS FROM ".$tablename;
        $q = self::queryReturnError($sql);
        if ( $q->success ) {
            return $q->fetchAll();
        } else {
            return false;
        }
    }
function metadata ( $ tablename ) { $ sql = "SHOW COLUMNS FROM " . $ tablename ; $ q = self :: queryReturnError ( $ sql ) ; if ( $ q -> success ) { return $ q -> fetchAll ( ) ; } else { return false ; } }
Retrieve the metadata for a table.
Retrieve the metadata for a table .