Is This what you're looking for?
// Be Sure to Establish MySQL Connection here first
// Assuming your table name is articles...change accordingly
$strSQL = mysql_query("DESCRIBE articles") or die(mysql_error());
while($result = mysql_fetch_assoc($strSQL)) {
echo $result["Field"] . "<br />\n";
}