This function will return information about a txtSQL $table. It will return information such as column type, permanent, maximum length etc., and will also return the enum values if the column is set to type 'enum'.
Important- To achieve the same results as this function before txtSQL 2.2.2 RC2, use the execute() function
Note- For more information on data types, see the data types section, or for more information the column types, see the
column types section
Note- If $tablename does not already exists, txtSQL will issue an error
Note- If no $db is specified and no database is already selected, txtSQL will issue an error
