# Table references showing up with section number instead of table number [duplicate]

My table references are showing up with the section number in them. I'd like all tables in the article to be numbered sequentially with out regard to section.

\usepackage[utf8x]{inputenc}
\usepackage{linguex}
\usepackage{graphicx}
\usepackage{booktabs} % for fancy tables
\usepackage{amsmath,amsfonts,amsthm,amssymb} % for llbracket, rrbracket
\usepackage{stmaryrd} % for llbracket, rrbracket
\usepackage{qtree}
\usepackage{multirow}
\usepackage{tree-dvips}
\usepackage{fancyhdr,lastpage}


Update:

I'm already in article class. The tables themselves show up numbered simply and correctly, e.g. Table 3. References to the tables, though, seem to actually give only the section name the tables are in. E.g. a table from section 3.1 shows up as "3.1" when I use \ref{tablename}.

Tried this, no effect:

\usepackage{chngcntr}
\counterwithout{table}{section}

-

## marked as duplicate by Werner, Thorsten, lockstep, Claudio Fiandrino, Joseph Wright♦Jun 14 '12 at 7:04

The easiest approach would be to use the chngcntr package with \counterwithout{table}{section}. –  Werner Jun 14 '12 at 5:41
Always put \label after \caption inside your table. I'm guessing this is not the case in your document, correct? –  Werner Jun 14 '12 at 6:57
Always put \label after \caption inside your table, otherwise you may receive unwanted references. The reason for this is that \label captures the most recently updated and counter (set using \refstepcounter). This only occurs after a call to \caption.